2021-01-26 09:05:10 +01:00
|
|
|
{{#if field.validations}}
|
2021-01-30 18:46:04 +01:00
|
|
|
{{#each-in field.validations.above as |name validation|}}
|
2021-02-01 14:58:37 +01:00
|
|
|
{{component validation.component field=field name=name validation=validation}}
|
2021-01-30 18:46:04 +01:00
|
|
|
{{/each-in}}
|
2021-01-26 09:05:10 +01:00
|
|
|
|
2021-01-30 18:46:04 +01:00
|
|
|
{{yield (hash perform=(action 'perform'))}}
|
2021-01-26 09:05:10 +01:00
|
|
|
|
2021-01-30 18:46:04 +01:00
|
|
|
{{#each-in field.validations.below as |name validation|}}
|
2021-02-01 14:58:37 +01:00
|
|
|
{{component validation.component field=field name=name validation=validation}}
|
2021-01-30 18:46:04 +01:00
|
|
|
{{/each-in}}
|
2021-01-26 09:05:10 +01:00
|
|
|
{{else}}
|
|
|
|
{{yield}}
|
|
|
|
{{/if}}
|