Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-14 05:52:52 +01:00
13 Zeilen
375 B
Handlebars
13 Zeilen
375 B
Handlebars
{{#if field.validations}}
|
|
{{#each-in field.validations.above as |name validation|}}
|
|
{{component validation.component field=field}}
|
|
{{/each-in}}
|
|
|
|
{{yield (hash perform=(action 'perform'))}}
|
|
|
|
{{#each-in field.validations.below as |name validation|}}
|
|
{{component validation.component field=field}}
|
|
{{/each-in}}
|
|
{{else}}
|
|
{{yield}}
|
|
{{/if}}
|