merge fixups
[catagits/Reaction.git] / root / base / dt_textfield
1 [%
2
3 PROCESS field_base;
4
5 control_block = 'textfield_control';
6
7 BLOCK textfield_control;
8
9   attrs.maxlength = '255'; # SimpleStr requires <= 255
10   %]<input type="text" [% IF id_attr; 'id="'; id_attr; '"'; END; connect_control(self, 'value_string');
11   ' value="'; self.value_string | html; '"'; process_attrs(attrs) %] />[%
12   attrs.maxlength = '';
13
14 END;
15
16 %]