diff --git a/app/views/alerts/_form.html.erb b/app/views/alerts/_form.html.erb index 79d38f4..61392ec 100644 --- a/app/views/alerts/_form.html.erb +++ b/app/views/alerts/_form.html.erb @@ -1,7 +1,13 @@ <%= form_for @alert, :html => { :class => 'form-horizontal' } do |f| %> - <% if @alert.errors.any? %> - <%= @alert.errors.full_messages.join(',') %> - <% end %> +
+ +
<%= f.label :department, :class => 'control-label' %>