ObjectView converted
[catagits/Reaction.git] / lib / Reaction / UI / Widget / DisplayField / DateTime.pm
index d6d0446..35b2651 100644 (file)
@@ -2,26 +2,34 @@ package Reaction::UI::Widget::DisplayField::DateTime;
 
 use Reaction::UI::WidgetClass;
 
-class DateTime, which {
-  widget renders [ qw/label value/ => { viewport => func(self => 'viewport') } ];
-  label  renders [ string { $_{viewport}->label } ];
-  value  renders [ string { $_{viewport}->value_string } ];
+class DateTime is 'Reaction::UI::Widget::DisplayField', which {
+
 };
 
 1;
 
 __END__;
 
-=for layout widget
+=head1 NAME
+
+Reaction::UI::Widget::DisplayField::DateTime
+
+=head1 DESCRIPTION
+
+See L<Reaction::UI::Widget::DisplayField>
+
+=head1 FRAGMENTS
+
+=head2 value
 
-[% content %]
+C<content> contains the viewport's value_string
 
-=for layout label
+=head1 AUTHORS
 
-<strong > [ % content %]: </strong>
+See L<Reaction::Class> for authors.
 
-=for layout value
+=head1 LICENSE
 
-[% content %]
+See L<Reaction::Class> for the license.
 
 =cut