diff --git a/app/views/admin/broadcast_messages/index.html.haml b/app/views/admin/broadcast_messages/index.html.haml index 17dffebd360cae080004c6ba7d3939fadbbd4109..5d8250f787f7230b7191c51a63f359ce5ea34fe8 100644 --- a/app/views/admin/broadcast_messages/index.html.haml +++ b/app/views/admin/broadcast_messages/index.html.haml @@ -7,7 +7,7 @@ %i.fa.fa-bullhorn %span Your message here -= form_for [:admin, @broadcast_message], html: { class: 'broadcast-message-form form-horizontal'} do |f| += form_for [:admin, @broadcast_message], html: { class: 'broadcast-message-form form-horizontal js-requires-input'} do |f| -if @broadcast_message.errors.any? .alert.alert-danger - @broadcast_message.errors.full_messages.each do |msg| @@ -17,8 +17,7 @@ .col-sm-10 = f.text_area :message, class: "form-control", rows: 2, required: true %div - = link_to '#', class: 'js-toggle-colors-link' do - Customize colors + = link_to 'Customize colors', '#', class: 'js-toggle-colors-link' .form-group.js-toggle-colors-container.hide = f.label :color, "Background Color", class: 'control-label' .col-sm-10