form=FORM('Date and time: ', INPUT(_name='date', _class='datetime'),
INPUT(_type='submit')) 

No _type='datetime'.
On Oct 31, 10:45 pm, petrasadi <petras...@gmail.com> wrote:
> From what I read, if the _class and _time attributes of a FORM both
> reference "datetime", then this should render a datetime picker in the
> view. Is this correct?
>
> My code:
> form=FORM('Date and time: ', INPUT(_name='date', _class='datetime',
> _type='datetime'), INPUT(_type='submit'))
>
> and upon execution I am expecting a datetime picker like one rendered
> by the database administrator, but not getting that.
>
> What am I doing wrong?

Reply via email to