%= form_for @alert, :html => { :class => 'form-horizontal' } do |f| %>
<%= f.label :department, :class => 'control-label' %>
<%= f.text_field :department, :class => 'text_field' %>
<%= f.label :course, :class => 'control-label' %>
<%= f.text_field :course, :class => 'text_field' %>
<%= f.label :semester, :class => 'control-label' %>
<%= f.text_field :semester, :class => 'text_field' %>
<%= f.submit nil, :class => 'btn btn-primary' %>
<%= link_to t('.cancel', :default => t("helpers.links.cancel")),
alerts_path, :class => 'btn' %>
<% end %>