more Widget updates. this breaks old-style templates, also changed how VPs behave...
[catagits/Reaction.git] / lib / Reaction / UI / Widget / Field / Password.pm
CommitLineData
8f19d042 1package Reaction::UI::Widget::Field::Password;
2
3use Reaction::UI::WidgetClass;
4
5class Password is 'Reaction::UI::Widget::Field', which {
6
7};
8
91;
10
11=for layout widget
12
9de685fc 13[% label %] [% field %] [% message %]
8f19d042 14
15=for layout field
16
17<!-- We need a replacement for process_attrs -->
9de685fc 18<input type="password" name="[% name | html %]" id="[% id | html %]" value="[% content | html %]" />
8f19d042 19
20=for layout label
21
22<!-- This conditional goes away when mst comes up with something better -->
23[% IF content %]
9de685fc 24 <label for="[% id | html %]"> [% content | html %]: </label>
8f19d042 25[% END %]
26
27=for layout message
28
29<!-- This conditional goes away when mst comes up with something better -->
30[% IF content %]
31 <span> [% content | html %] </span>
32[% END %]
33
34=cut