blob: c89c3977c9415b4c6e6a721a1565243024b27c12 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
[%
PROCESS field_base;
control_block = 'fileselect_control';
BLOCK fileselect_control;
%]<input type="file" [% IF id_attr; 'id="'; id_attr; '"'; END; connect_control(self, 'value');
# browsers ignore this for security reasons, can be uncommented for testing.
# ' value="'; self.value.filename | html; '"';
process_attrs(attrs) %] />[%
END;
%]
|