X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FReaction%2FUI%2FWidget%2FDisplayField%2FDateTime.pm;h=35b26512b8e4b0ebda49b6bf9f39cce56d859ffb;hb=d7b00a506917b0fc21c7781985ea65293870fbbc;hp=d6d04464090fe28f79c288ef71b3a78118aa6875;hpb=7b78a39dc4f84911690a1163bf4666a566815e9b;p=catagits%2FReaction.git diff --git a/lib/Reaction/UI/Widget/DisplayField/DateTime.pm b/lib/Reaction/UI/Widget/DisplayField/DateTime.pm index d6d0446..35b2651 100644 --- a/lib/Reaction/UI/Widget/DisplayField/DateTime.pm +++ b/lib/Reaction/UI/Widget/DisplayField/DateTime.pm @@ -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 + +=head1 FRAGMENTS + +=head2 value -[% content %] +C contains the viewport's value_string -=for layout label +=head1 AUTHORS - [ % content %]: +See L for authors. -=for layout value +=head1 LICENSE -[% content %] +See L for the license. =cut