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