work in progress, listview still broken
[catagits/Reaction.git] / lib / Reaction / UI / Widget / Field / DateTime.pm
index f328cd7..0ada1a4 100644 (file)
@@ -4,33 +4,32 @@ use Reaction::UI::WidgetClass;
 
 class DateTime is 'Reaction::UI::Widget::Field', which {
 
-  field renders [ string { $_{viewport}->value_string }, ];
-
 };
 
 1;
 
-=for layout widget
+__END__;
+
+=head1 NAME
+
+Reaction::UI::Widget::Field::DateTime
+
+=head1 DESCRIPTION
+
+See L<Reaction::UI::Widget::Field>
 
-[% label %] [% field %] [% message %]
+=head1 FRAGMENTS
 
-=for layout field
+=head2 value
 
-<!-- We need a replacement for process_attrs -->
-<input type="text" name="[% name | html %]" id="[% id | html%]" value="[% content | html %]" />
+C<content> contains the viewport's value_string
 
-=for layout label
+=head1 AUTHORS
 
-<!-- This conditional goes away when mst comes up with something better -->
-[% IF content %]
-  <label for="[% id | html %]"> [% content | html %]: </label>
-[% END %]
+See L<Reaction::Class> for authors.
 
-=for layout message
+=head1 LICENSE
 
-<!-- This conditional goes away when mst comes up with something better -->
-[% IF content %]
-  <span> [% content | html %] </span>
-[% END %]
+See L<Reaction::Class> for the license.
 
 =cut