30 lines
683 B
Handlebars
30 lines
683 B
Handlebars
<div class="box">
|
|
{{#bs-form
|
|
formLayout="horizontal"
|
|
model=this
|
|
novalidate=true
|
|
action="submit"
|
|
}}
|
|
{{#bs-form-element
|
|
classNames='poll-type'
|
|
label=(t 'create.index.input.pollType.label')
|
|
property="pollType"
|
|
showValidationOn=(array 'change' 'focusOut')
|
|
useIcons=false
|
|
as |value id|
|
|
}}
|
|
{{simple-select
|
|
autofocus=true
|
|
id=id
|
|
content=pollTypes
|
|
optionLabelPath="label"
|
|
optionValuePath="id"
|
|
value=value
|
|
action=(action (mut value) value='id')
|
|
}}
|
|
{{/bs-form-element}}
|
|
{{form-navigation-buttons
|
|
disablePrevButton=true
|
|
}}
|
|
{{/bs-form}}
|
|
</div>
|