13 Zeilen
411 B
Handlebars
13 Zeilen
411 B
Handlebars
{{#if field.validations}}
|
|
{{#each-in field.validations.above as |name validation|}}
|
|
{{component validation.component field=field name=name validation=validation}}
|
|
{{/each-in}}
|
|
|
|
{{yield (hash perform=(action 'perform'))}}
|
|
|
|
{{#each-in field.validations.below as |name validation|}}
|
|
{{component validation.component field=field name=name validation=validation}}
|
|
{{/each-in}}
|
|
{{else}}
|
|
{{yield}}
|
|
{{/if}}
|