1 package Reaction::UI::Widget::Field::Boolean;
3 use Reaction::UI::WidgetClass;
5 class Boolean is 'Reaction::UI::Widget::Field', which {
13 [% label %] [% field %] [% message %] <br>
19 checked = 'checked="checked"';
25 <!-- We need a replacement for process_attrs -->
26 <input type="checkbox" id="[% id | html %]" name="[% name | html %]" value="1" [% checked %] />
30 <!-- This conditional goes away when mst comes up with something better -->
32 <label for="[% id %]"> [% content | html %]: </label>
37 <!-- This conditional goes away when mst comes up with something better -->
39 <span> [% content | html %] </span>