13 lines
285 B
Handlebars
13 lines
285 B
Handlebars
{{#if hasLabel}}
|
|
<label class="control-label">{{label}}</label>
|
|
{{/if}}
|
|
|
|
{{yield}}
|
|
|
|
{{#if (get changeset.error property)}}
|
|
<ul class="help-block">
|
|
{{#each (get (get changeset.error property) "validation") as |message|}}
|
|
<li>{{message}}</li>
|
|
{{/each}}
|
|
</ul>
|
|
{{/if}}
|