[% poll = c.model('Vote').poll(voteid) %] [% INCLUDE 'includes/admin_menu.tt' %] [% IF poll.status == 'BEFORE' %]
[% l('Date format is') _ ' ' %] [% l('DD/MM/YYYY HH:MM:SS') %]
[% IF dateerror %]

[% dateerror | html %]

[% END %] [% l('Poll start:') %]
[% l('date:') %] [% l('time:') %]
[% l('Poll end:') %]
[% l('date:') %] [% l('time:') %]

[% c.prototype.observe_form('dateform', url => c.uri_for('/ajax', 'datecheck'), update => 'datesub', frequency => 2, ) %]
[% ELSE %] [% END %]