1 package Reaction::UI::Widget::Field::DateTime;
3 use Reaction::UI::WidgetClass;
5 class DateTime is 'Reaction::UI::Widget::Field', which {
7 field renders [ string { $_{viewport}->value_string }, ];
15 [% label %] [% field %] [% message %] <br>
19 <!-- We need a replacement for process_attrs -->
20 <input type="text" name="[% name %]" id="[% id %]" value="[% content | html %]" />
24 <!-- This conditional goes away when mst comes up with something better -->
26 <label for="[% id %]"> [% content | html %]: </label>
31 <!-- This conditional goes away when mst comes up with something better -->
33 <span> [% content | html %] </span>