67cc41973f
Ember.ObjectController was proxying model properties to controller. Ember.Controller which should be used is not. Therefore we have to define if it's a property of controller or model. Also added two more tests: * anonymous participation * do not force an answer for all options
13 lines
415 B
Handlebars
13 lines
415 B
Handlebars
<div class="box">
|
|
{{#form-wrapper}}
|
|
{{input pollType as='select'
|
|
collection="pollTypes"
|
|
value="model.pollType"
|
|
optionValuePath="content.id"
|
|
optionLabelPath="content.label"
|
|
labelTranslation='create.index.input.pollType.label'
|
|
}}
|
|
{{/form-wrapper}}
|
|
|
|
<button {{action "submit"}} class="btn btn-default btn-primary button-next"> {{t 'create.next'}} </button>
|
|
</div>
|