decide.nolog.cz/app/templates/create/index.hbs
2014-10-24 01:13:44 +02:00

14 lines
No EOL
462 B
Handlebars

<div class="box">
{{#form-for controller}}
{{input pollType as='select'
collection="pollTypes"
value="pollType"
optionValuePath="content.id"
optionLabelPath="content.label"
labelTranslation='create.index.input.pollType.label'
promptTranslation='create.index.input.pollType.prompt'
}}
{{/form-for}}
<button {{action "submit"}} class="btn btn-default btn-primary"> {{t 'create.next'}} </button>
</div>