diff --git a/assets/javascripts/discourse/templates/components/wizard-custom-field.hbs b/assets/javascripts/discourse/templates/components/wizard-custom-field.hbs index 26d2cfa7..0502d3bc 100644 --- a/assets/javascripts/discourse/templates/components/wizard-custom-field.hbs +++ b/assets/javascripts/discourse/templates/components/wizard-custom-field.hbs @@ -219,10 +219,9 @@ + {{#if validations}} + {{wizard-realtime-validation-settings field=field validations=validations}} + {{/if}} {{/if}} - - {{#if validations}} - {{wizard-realtime-validation-settings field=field validations=validations}} - {{/if}} {{/if}} diff --git a/assets/javascripts/discourse/templates/components/wizard-realtime-validation-settings.hbs b/assets/javascripts/discourse/templates/components/wizard-realtime-validation-settings.hbs index c8d35aa4..a012cdee 100644 --- a/assets/javascripts/discourse/templates/components/wizard-realtime-validation-settings.hbs +++ b/assets/javascripts/discourse/templates/components/wizard-realtime-validation-settings.hbs @@ -6,27 +6,31 @@ {{input type="checkbox" checked=props.status }} {{i18n (concat 'admin.wizard.field.validations.' name) }} -