more Widget updates. this breaks old-style templates, also changed how VPs behave...
[catagits/Reaction.git] / lib / Reaction / UI / Widget / Field / Number.pm
index a2a24c3..2cd371f 100644 (file)
@@ -10,18 +10,18 @@ class Number is 'Reaction::UI::Widget::Field', which {
 
 =for layout widget
 
-[% label %] [% field %] [% message %] <br>
+[% label %] [% field %] [% message %]
 
 =for layout field
 
 <!-- We need a replacement for process_attrs -->
-<input type="text" name="[% name %]" id="[% id %]" value="[% content | html %]" />
+<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 -->
 [% IF content %]
-  <label for="[% id %]"> [% content | html %]: </label>
+  <label for="[% id | html %]"> [% content | html %]: </label>
 [% END %]
 
 =for layout message