0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-10 12:22:54 +01:00
discourse-custom-wizard/assets/javascripts/discourse/templates/components/realtime-validation-settings.hbs

16 Zeilen
601 B
Handlebars

2021-01-27 06:08:26 +01:00
<div>
<label>{{i18n 'admin.wizard.field.validations.header'}}</label>
</div>
2021-01-30 18:46:04 +01:00
{{#each-in field.validations as |name props|}}
<span class="setting-title">
{{input type="checkbox" checked=props.status }}
{{i18n (concat 'admin.wizard.field.validations.' name)}}
2021-01-30 18:46:04 +01:00
</span>
<div>
{{radio-button name=(concat name field.id) value="above" selection=props.position}} {{i18n 'admin.wizard.field.validations.above'}}
</div>
<div>
{{radio-button name=(concat name field.id) value="below" selection=props.position}} {{i18n 'admin.wizard.field.validations.below'}}
</div>
{{/each-in}}