<input type="{{ !isset($type)? 'text':$type }}" value="{{ !isset($value)? '':$value }}"> (global {{$globalme}})
info at phpclasses dot org