918138720cee878b727d2dd2a257f7e59bb8bf3a
[catagits/Reaction.git] / lib / Reaction / UI / Widget / Field / DateTime.pm
1 package Reaction::UI::Widget::Field::DateTime;
2
3 use Reaction::UI::WidgetClass;
4
5 class DateTime is 'Reaction::UI::Widget::Field', which {
6
7   field renders [ string { $_{viewport}->value_string }, ];
8
9 };
10
11 1;
12
13
14 =head1 NAME
15
16 Reaction::UI::Widget::Field::DateTime
17
18 =head1 DESCRIPTION
19
20 See L<Reaction::UI::Widget::Field>
21
22 =head1 FRAGMENTS
23
24 =head2 field
25
26 C<content> contains viewport's C<value_string>
27
28 =head1 AUTHORS
29
30 See L<Reaction::Class> for authors.
31
32 =head1 LICENSE
33
34 See L<Reaction::Class> for the license.
35
36 =cut