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