diff --git a/app/assets/javascripts/admin/addon/components/screened-ip-address-form.js b/app/assets/javascripts/admin/addon/components/screened-ip-address-form.js index 5636c302dbe..95ed9edfe81 100644 --- a/app/assets/javascripts/admin/addon/components/screened-ip-address-form.js +++ b/app/assets/javascripts/admin/addon/components/screened-ip-address-form.js @@ -17,7 +17,7 @@ import { schedule } from "@ember/runloop"; **/ export default Component.extend({ - classNames: ["screened-ip-address-form"], + classNames: ["screened-ip-address-form", "inline-form"], formSubmitted: false, actionName: "block", diff --git a/app/assets/javascripts/admin/addon/templates/components/permalink-form.hbs b/app/assets/javascripts/admin/addon/templates/components/permalink-form.hbs index 8792d78734c..938c77b0d8f 100644 --- a/app/assets/javascripts/admin/addon/templates/components/permalink-form.hbs +++ b/app/assets/javascripts/admin/addon/templates/components/permalink-form.hbs @@ -1,30 +1,35 @@ -{{i18n "admin.permalink.form.label"}} +
+ -{{text-field - value=url - disabled=formSubmitted - class="permalink-url" - placeholderKey="admin.permalink.url" - autocorrect="off" - autocapitalize="off"}} + {{text-field + value=url + disabled=formSubmitted + class="permalink-url" + placeholderKey="admin.permalink.url" + autocorrect="off" + autocapitalize="off" + }} -{{combo-box - content=permalinkTypes - value=permalinkType - onChange=(action (mut permalinkType)) - class="permalink-type" -}} + {{combo-box + content=permalinkTypes + value=permalinkType + onChange=(action (mut permalinkType)) + class="permalink-type" + }} -{{text-field - value=permalink_type_value - disabled=formSubmitted - class="external-url" - placeholderKey=permalinkTypePlaceholder - autocorrect="off" - autocapitalize="off"}} + {{text-field + value=permalink_type_value + disabled=formSubmitted + class="external-url" + placeholderKey=permalinkTypePlaceholder + autocorrect="off" + autocapitalize="off" + }} -{{d-button - class="btn-default" - action=(action "submit") - disabled=formSubmitted - label="admin.permalink.form.add"}} + {{d-button + class="btn-default" + action=(action "submit") + disabled=formSubmitted + label="admin.permalink.form.add" + }} +
diff --git a/app/assets/javascripts/admin/addon/templates/components/screened-ip-address-form.hbs b/app/assets/javascripts/admin/addon/templates/components/screened-ip-address-form.hbs index 488c14fb5ff..a78a6c82e17 100644 --- a/app/assets/javascripts/admin/addon/templates/components/screened-ip-address-form.hbs +++ b/app/assets/javascripts/admin/addon/templates/components/screened-ip-address-form.hbs @@ -1,4 +1,4 @@ -{{i18n "admin.logs.screened_ips.form.label"}} + {{text-field value=ip_address disabled=formSubmitted class="ip-address-input" placeholderKey="admin.logs.screened_ips.form.ip_address" autocorrect="off" autocapitalize="off"}} {{combo-box diff --git a/app/assets/javascripts/admin/addon/templates/email-index.hbs b/app/assets/javascripts/admin/addon/templates/email-index.hbs index ddf914fee48..4919b249e6f 100644 --- a/app/assets/javascripts/admin/addon/templates/email-index.hbs +++ b/app/assets/javascripts/admin/addon/templates/email-index.hbs @@ -16,21 +16,24 @@
- {{#if sendingEmail}} -
{{i18n "admin.email.sending_test"}}
- {{else}} -
- {{text-field value=testEmailAddress placeholderKey="admin.email.test_email_address"}} +
+
+ {{#if sendingEmail}} + {{i18n "admin.email.sending_test"}} + {{else}} + {{text-field value=testEmailAddress placeholderKey="admin.email.test_email_address"}} + {{d-button + class="btn-primary" + action=(action "sendTestEmail") + disabled=sendTestEmailDisabled + label="admin.email.send_test" + type="submit" + }} + {{#if sentTestEmailMessage}} + {{sentTestEmailMessage}} + {{/if}} + {{/if}}
-
- {{d-button - class="btn-primary" - action=(action "sendTestEmail") - disabled=sendTestEmailDisabled - label="admin.email.send_test" - type="submit"}} - {{#if sentTestEmailMessage}}{{sentTestEmailMessage}}{{/if}} -
- {{/if}} +
diff --git a/app/assets/javascripts/admin/addon/templates/email-preview-digest.hbs b/app/assets/javascripts/admin/addon/templates/email-preview-digest.hbs index c93d048ba6d..a4af09fb881 100644 --- a/app/assets/javascripts/admin/addon/templates/email-preview-digest.hbs +++ b/app/assets/javascripts/admin/addon/templates/email-preview-digest.hbs @@ -2,32 +2,35 @@