aboutsummaryrefslogtreecommitdiffstats
path: root/share/skin/default/layout/field/string.tt
blob: 40f37896a5634e90585a9a860c29de90a7935d12 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
=for layout widget

[% label %] [% field %] [% message %]

=for layout field

<!-- We need a replacement for process_attrs -->
<input type="text" name="[% name | html %]" id="[% id | html %]" value="[% content | html %]" />

=for layout label

<!-- This conditional goes away when mst comes up with something better -->
[% content_str = GET content; %]
[% IF content_str.length; %]
  <label> [% content_str | html %]: </label>
[% END; %]

=for layout message

<!-- This conditional goes away when mst comes up with something better -->
[% content_str = GET content; %]
[% IF content_str.length; %]
  <span> [% content_str | html %] </span> <br />
[% END %]

=cut