d463704eb2
still lacks support of checkboxes: http://stackoverflow.com/questions/26444069/passing-handlebars-helper-to-another-helper-in-emberjs
15 lines
No EOL
569 B
Handlebars
15 lines
No EOL
569 B
Handlebars
{{#unless view.isCheckbox}}
|
|
{{label-field propertyBinding="view.property" textBinding="view.label"}}
|
|
{{/unless}}
|
|
<div {{bind-attr class=view.divWrapperClass}}>
|
|
{{input-field propertyBinding='view.property' inputOptionsBinding='view.inputOptionsValues'}}
|
|
{{#if view.isCheckbox}}
|
|
{{label-field propertyBinding="view.property" textBinding="view.label"}}
|
|
{{/if}}
|
|
{{#if view.hint}}
|
|
{{hint-field propertyBinding="view.property" textBinding="view.hint"}}
|
|
{{/if}}
|
|
{{#if view.showError}}
|
|
{{error-field propertyBinding="view.property"}}
|
|
{{/if}}
|
|
</div> |