1
0
Fork 0
discourse-custom-wizard-unl.../assets/javascripts/wizard/templates/components/field-validators.hbs

14 Zeilen
365 B
Handlebars

2021-01-26 09:05:10 +01:00
{{#if field.validations}}
{{#each field.validations.top as |validation|}}
{{validation.component field=field perform=perform}}
{{/each}}
{{yield (hash perform=(action 'perform')) }}
{{#each field.validations.bottom as |validation|}}
{{validation.component field=field perform=perform}}
{{/each}}
{{else}}
{{yield}}
{{/if}}