59 lines
1.4 KiB
Handlebars
59 lines
1.4 KiB
Handlebars
<div class="box">
|
|
{{#bs-form
|
|
formLayout="horizontal"
|
|
model=this
|
|
action="submit"
|
|
}}
|
|
{{#bs-form-element
|
|
classNames='answer-type'
|
|
label=(t 'create.settings.answerType.label')
|
|
property="answerType"
|
|
useIcons=false
|
|
as |value id|
|
|
}}
|
|
{{simple-select
|
|
id=id
|
|
content=answerTypes
|
|
optionLabelPath="label"
|
|
optionValuePath="id"
|
|
value=value
|
|
action=(action (mut value) value='id')
|
|
}}
|
|
{{/bs-form-element}}
|
|
{{#bs-form-element
|
|
classNames='expiration-duration'
|
|
label=(t 'create.settings.expirationDate.label')
|
|
property='expirationDuration'
|
|
useIcons=false
|
|
as |value id|
|
|
}}
|
|
{{simple-select
|
|
id=id
|
|
content=expirationDurations
|
|
optionLabelPath='label'
|
|
optionValuePath='id'
|
|
value=value
|
|
action=(action (mut value) value='id')
|
|
}}
|
|
{{/bs-form-element}}
|
|
{{bs-form-element
|
|
classNames='anonymous-user'
|
|
controlType='checkbox'
|
|
label=(t 'create.settings.anonymousUser.label')
|
|
value=anonymousUser
|
|
}}
|
|
{{bs-form-element
|
|
classNames='force-answer'
|
|
controlType='checkbox'
|
|
label=(t 'create.settings.forceAnswer.label')
|
|
value=forceAnswer
|
|
}}
|
|
{{#bs-form-element}}
|
|
{{bs-button
|
|
defaultText=(t 'create.next')
|
|
type="primary"
|
|
buttonType="submit"
|
|
}}
|
|
{{/bs-form-element}}
|
|
{{/bs-form}}
|
|
</div>
|