Commit | Line | Data |
5a1a893e |
1 | =for layout widget |
2 | |
3 | [% label %] [% field %] [% message %] <br> |
4 | |
5 | =for layout field |
6 | |
7 | [% |
8 | IF content; |
9 | checked = 'checked="checked"'; |
10 | ELSE; |
11 | checked = ""; |
12 | END; |
13 | %] |
14 | |
15 | <!-- We need a replacement for process_attrs --> |
16 | <input type="checkbox" id="[% id | html %]" name="[% name | html %]" value="1" [% checked %] /> |
17 | |
18 | =for layout label |
19 | |
20 | <!-- This conditional goes away when mst comes up with something better --> |
6ab43711 |
21 | [% content_str = GET content; %] |
22 | [% IF content_str.length; %] |
23 | <label> [% content_str | html %]: </label> |
24 | [% END; %] |
5a1a893e |
25 | |
26 | =for layout message |
27 | |
28 | <!-- This conditional goes away when mst comes up with something better --> |
6ab43711 |
29 | [% content_str = GET content; %] |
30 | [% IF content_str.length; %] |
31 | <span> [% content_str | html %] </span> <br /> |
5a1a893e |
32 | [% END %] |
33 | |
34 | =cut |