diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-12-31 01:27:02 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-12-31 01:27:02 +0200 |
commit | 16eb3ac360df60469cc9b1a93870c0273c7fe78f (patch) | |
tree | 9aff8fff986e9868b1500001d00968f469f73067 /app/views/admin/broadcast_messages | |
parent | 2ecf83191d4ae7a158d70f8cfa11ec9f2744b0ce (diff) | |
download | gitlab-ce-16eb3ac360df60469cc9b1a93870c0273c7fe78f.tar.gz |
Update form classes
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/admin/broadcast_messages')
-rw-r--r-- | app/views/admin/broadcast_messages/index.html.haml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/app/views/admin/broadcast_messages/index.html.haml b/app/views/admin/broadcast_messages/index.html.haml index 043ce4fd817..220bf759cea 100644 --- a/app/views/admin/broadcast_messages/index.html.haml +++ b/app/views/admin/broadcast_messages/index.html.haml @@ -11,30 +11,30 @@ .alert.alert-error - @broadcast_message.errors.full_messages.each do |msg| %p= msg - .control-group + .form-group = f.label :message - .controls + .col-sm-10 = f.text_area :message, class: "input-xxlarge", rows: 2, required: true %div = link_to '#', class: 'js-toggle-colors-link' do Customize colors - .control-group.js-toggle-colors-container.gl-hide + .form-group.js-toggle-colors-container.gl-hide = f.label :color, "Background Color" - .controls + .col-sm-10 = f.text_field :color, placeholder: "#AA33EE" .light Hex values as 3 double digit numbers, starting with a # sign. - .control-group.js-toggle-colors-container.gl-hide + .form-group.js-toggle-colors-container.gl-hide = f.label :font, "Font Color" - .controls + .col-sm-10 = f.text_field :font, placeholder: "#224466" .light Hex values as 3 double digit numbers, starting with a # sign. - .control-group + .form-group = f.label :starts_at - .controls.datetime-controls + .col-sm-10.datetime-controls = f.datetime_select :starts_at - .control-group + .form-group = f.label :ends_at - .controls.datetime-controls + .col-sm-10.datetime-controls = f.datetime_select :ends_at .form-actions = f.submit "Add broadcast message", class: "btn btn-create" |