%= form_for(@employee) do |f| %>
<% if @employee.errors.any? %>
<%= pluralize(@employee.errors.count, "error") %> prohibited this employee from being saved:
<% @employee.errors.full_messages.each do |message| %>
- <%= message %>
<% end %>
<% end %>
<%= f.label :name %>
<%= f.text_field :name %>
<%= f.label :section %>
<%= f.text_field :section %>
<%= f.submit %>
<% end %>