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

20 lines
No EOL
665 B
Handlebars

<div class="box">
{{#form-for controller}}
{{input answerType as='select'
collection="answerTypes"
value="answerType"
optionValuePath="content.id"
optionLabelPath="content.label"
labelTranslation="create.settings.answerType.label"
promptTranslation="create.settings.anserType.prompt"
}}
{{input anonymousUser as='checkbox'
labelTranslation="create.settings.anonymousUser.label"
}}
{{input forceAnswer as='checkbox'
labelTranslation="create.settings.forceAnswer.label"
}}
{{/form-for}}
<button {{action "submit"}} class="btn btn-default btn-primary"> {{t 'create.next'}} </button>
</div>