Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-24 02:10:29 +01:00
23 Zeilen
Kein EOL
520 B
Handlebars
23 Zeilen
Kein EOL
520 B
Handlebars
{{#if this.field.validations}}
|
|
{{#each-in this.field.validations.above as |type validation|}}
|
|
{{component
|
|
validation.component
|
|
field=this.field
|
|
type=type
|
|
validation=validation
|
|
}}
|
|
{{/each-in}}
|
|
|
|
{{yield (hash perform=(action "perform") autocomplete="off")}}
|
|
|
|
{{#each-in this.field.validations.below as |type validation|}}
|
|
{{component
|
|
validation.component
|
|
field=this.field
|
|
type=type
|
|
validation=validation
|
|
}}
|
|
{{/each-in}}
|
|
{{else}}
|
|
{{yield}}
|
|
{{/if}} |