<%= form_for(@employee) do |f| %> <% if @employee.errors.any? %>

<%= pluralize(@employee.errors.count, "error") %> prohibited this employee from being saved:

<% end %>
<%= f.label :name %>
<%= f.text_field :name %>
<%= f.label :section %>
<%= f.text_field :section %>
<%= f.submit %>
<% end %>