diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-13 02:16:56 +0300 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-13 02:16:56 +0300 |
commit | 4e54f5ae1b15ff61efb2f434afa6e15b1666a3cd (patch) | |
tree | 23be4902b84217978d15b3402d91f78a9825996a /app/views/admin/broadcast_messages | |
parent | 53bf57f3acf00436ee16f93cda433670c08a2275 (diff) |
[skip ci] add col-sm-* for form-horizontal changes to keep layout
Diffstat (limited to 'app/views/admin/broadcast_messages')
-rw-r--r-- | app/views/admin/broadcast_messages/_form.html.haml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/admin/broadcast_messages/_form.html.haml b/app/views/admin/broadcast_messages/_form.html.haml index d558161ec8f..ff1e4d5610f 100644 --- a/app/views/admin/broadcast_messages/_form.html.haml +++ b/app/views/admin/broadcast_messages/_form.html.haml @@ -10,7 +10,7 @@ = form_errors(@broadcast_message) .form-group.row - = f.label :message, class: 'col-form-label' + = f.label :message, class: 'col-form-label col-sm-2' .col-sm-10 = f.text_area :message, class: "form-control js-autosize", required: true, @@ -19,19 +19,19 @@ .col-sm-10.col-sm-offset-2 = link_to 'Customize colors', '#', class: 'js-toggle-colors-link' .form-group.row.js-toggle-colors-container.d-none - = f.label :color, "Background Color", class: 'col-form-label' + = f.label :color, "Background Color", class: 'col-form-label col-sm-2' .col-sm-10 = f.color_field :color, class: "form-control" .form-group.row.js-toggle-colors-container.d-none - = f.label :font, "Font Color", class: 'col-form-label' + = f.label :font, "Font Color", class: 'col-form-label col-sm-2' .col-sm-10 = f.color_field :font, class: "form-control" .form-group.row - = f.label :starts_at, class: 'col-form-label' + = f.label :starts_at, class: 'col-form-label col-sm-2' .col-sm-10.datetime-controls = f.datetime_select :starts_at, {}, class: 'form-control form-control-inline' .form-group.row - = f.label :ends_at, class: 'col-form-label' + = f.label :ends_at, class: 'col-form-label col-sm-2' .col-sm-10.datetime-controls = f.datetime_select :ends_at, {}, class: 'form-control form-control-inline' .form-actions |