r20434@hades (orig r549): groditi | 2008-01-30 18:09:54 -0300
[catagits/Reaction.git] / lib / Reaction / UI / Widget / Field / Boolean.pm
index 986d7b0..a205e9f 100644 (file)
@@ -4,14 +4,6 @@ use Reaction::UI::WidgetClass;
 
 class Boolean is 'Reaction::UI::Widget::Field', which {
 
-  implements fragment is_checked {
-    if ($_{viewport}->value) {
-      render 'is_checked_yes';
-    } else {
-      render 'is_checked_no';
-    }
-  };
-
 };
 
 1;
@@ -26,6 +18,12 @@ Reaction::UI::Widget::Field::Boolean
 
 See L<Reaction::UI::Widget::Field>
 
+=head1 FRAGMENTS
+
+=head2 value
+
+C<content> contains the viewport's value_string
+
 =head1 AUTHORS
 
 See L<Reaction::Class> for authors.