decide.nolog.cz/app/templates/components/create-options-dates.hbs
jelhan 4a31aaa616 use ember-bootstrap in create/options
ToDo:
Label validation state should not be bound to validation state of first element (option)
but to validation state of all elements. If any element has an error label validation state
should be error. Only if all elements are fine, label validation state should also be fine.
2016-06-06 01:19:24 +02:00

15 lines
316 B
Handlebars

{{#bs-form-element
classNames='days'
label=(t 'create.options.dates.label')
property='options'
as |value id|
}}
{{bootstrap-datepicker-inline
id=id
value=optionsBootstrapDatepicker
multidate=true
calendarWeeks=true
todayHighlight=true
language=i18n.locale
}}
{{/bs-form-element}}