2021-04-12 16:19:53 +02:00
|
|
|
{{#if field.validations}}
|
|
|
|
{{#each-in field.validations.above as |type validation|}}
|
|
|
|
{{component validation.component field=field type=type validation=validation}}
|
|
|
|
{{/each-in}}
|
|
|
|
|
|
|
|
{{yield (hash perform=(action "perform") autocomplete="off")}}
|
|
|
|
|
|
|
|
{{#each-in field.validations.below as |type validation|}}
|
|
|
|
{{component validation.component field=field type=type validation=validation}}
|
|
|
|
{{/each-in}}
|
|
|
|
{{else}}
|
|
|
|
{{yield}}
|
|
|
|
{{/if}}
|