2021-01-26 09:05:10 +01:00
|
|
|
{{#if field.validations}}
|
2021-02-16 01:43:00 +01:00
|
|
|
{{#each-in field.validations.above as |type validation|}}
|
|
|
|
{{component validation.component field=field type=type validation=validation}}
|
2021-02-15 09:28:27 +01:00
|
|
|
{{/each-in}}
|
2021-01-26 09:05:10 +01:00
|
|
|
|
2021-02-15 14:32:11 +01:00
|
|
|
{{yield (hash perform=(action 'perform'))}}
|
2021-01-26 09:05:10 +01:00
|
|
|
|
2021-02-16 01:43:00 +01:00
|
|
|
{{#each-in field.validations.below as |type validation|}}
|
|
|
|
{{component validation.component field=field type=type validation=validation}}
|
2021-02-15 14:32:11 +01:00
|
|
|
{{/each-in}}
|
2021-01-26 09:05:10 +01:00
|
|
|
{{else}}
|
2021-02-15 09:28:27 +01:00
|
|
|
{{yield}}
|
2021-01-26 09:05:10 +01:00
|
|
|
{{/if}}
|