Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-14 05:52:52 +01:00
13 Zeilen
365 B
Handlebars
13 Zeilen
365 B
Handlebars
{{#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}}
|