Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-25 18:50:27 +01:00
23 Zeilen
Kein EOL
495 B
Handlebars
23 Zeilen
Kein EOL
495 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}} |