1
0
Fork 0
discourse-custom-wizard-unl.../assets/javascripts/wizard/templates/components/field-validators.hbs
2021-04-12 19:49:53 +05:30

13 Zeilen
451 B
Handlebars

{{#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}}