blob: a43f445f037e6b498b0930fdfe011ea38ebd2fdd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
[%
PROCESS field_base;
control_block = 'textfield_control';
BLOCK textfield_control;
attrs.maxlength = '255'; # SimpleStr requires <= 255
name = attrs.name || 'value'; attrs.name = '';
%]<input type="text" [% IF id_attr; 'id="'; id_attr; '"'; END; connect_control(self, name);
' value="'; self.value | html; '"'; process_attrs(attrs) %] />[%
attrs.maxlength = '';
END;
%]
|