view shared_view/includes/dojo/form/DateTextBox.tt @ 15:573a92d54f07

sync
author sergey
date Tue, 20 May 2014 01:27:30 +0400
parents 573272ec604b
children
line wrap: on
line source

[% META class='IMPL::Web::View::InputControl';

    dojo = require('dojo/context').new();
    dojo.AddJsModule("dijit/form/DateTextBox");
%]
<input data-dojo-type="dijit/form/DateTextBox" id="$this.id-input" name="$this.inputName" type="date" [% IF NOT this.decl.isOptional %]required="true"[% END %] value="$this.value.ymd" />