diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-12 23:11:22 +0300 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-12 23:11:22 +0300 |
commit | c552328617202bd1225abd3e84fc7f4a4b79e4fa (patch) | |
tree | 93b5f95af70561784bb29bd6f7dbd1ef12e69b29 /app/views/admin/broadcast_messages | |
parent | 705d7f703b10f5e1a066d0623bf32d07868d6668 (diff) |
[skip ci] .form-horizontal => .form-group.row
Diffstat (limited to 'app/views/admin/broadcast_messages')
-rw-r--r-- | app/views/admin/broadcast_messages/_form.html.haml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app/views/admin/broadcast_messages/_form.html.haml b/app/views/admin/broadcast_messages/_form.html.haml index 5fe7b2eb7db..d558161ec8f 100644 --- a/app/views/admin/broadcast_messages/_form.html.haml +++ b/app/views/admin/broadcast_messages/_form.html.haml @@ -6,31 +6,31 @@ - else Your message here -= form_for [:admin, @broadcast_message], html: { class: 'broadcast-message-form form-horizontal js-quick-submit js-requires-input'} do |f| += form_for [:admin, @broadcast_message], html: { class: 'broadcast-message-form js-quick-submit js-requires-input'} do |f| = form_errors(@broadcast_message) - .form-group + .form-group.row = f.label :message, class: 'col-form-label' .col-sm-10 = f.text_area :message, class: "form-control js-autosize", required: true, data: { preview_path: preview_admin_broadcast_messages_path } - .form-group.js-toggle-colors-container + .form-group.row.js-toggle-colors-container .col-sm-10.col-sm-offset-2 = link_to 'Customize colors', '#', class: 'js-toggle-colors-link' - .form-group.js-toggle-colors-container.d-none + .form-group.row.js-toggle-colors-container.d-none = f.label :color, "Background Color", class: 'col-form-label' .col-sm-10 = f.color_field :color, class: "form-control" - .form-group.js-toggle-colors-container.d-none + .form-group.row.js-toggle-colors-container.d-none = f.label :font, "Font Color", class: 'col-form-label' .col-sm-10 = f.color_field :font, class: "form-control" - .form-group + .form-group.row = f.label :starts_at, class: 'col-form-label' .col-sm-10.datetime-controls = f.datetime_select :starts_at, {}, class: 'form-control form-control-inline' - .form-group + .form-group.row = f.label :ends_at, class: 'col-form-label' .col-sm-10.datetime-controls = f.datetime_select :ends_at, {}, class: 'form-control form-control-inline' |