%= form_for(@metacode_set) do |f| %>
<% if @metacode_set.errors.any? %>
<%= pluralize(@metacode_set.errors.count, "error") %> prohibited this metacode set from being saved:
<% @metacode_set.errors.full_messages.each do |msg| %>
- <%= msg %>
<% end %>
<% end %>
<%= f.label :name %>
<%= f.text_field :name %>
<%= f.label :desc, "Description" %>
<%= f.text_area :desc, :cols => "40", :rows => "4" %>
Choose Metacodes
Select AllUnselect All
<%= hidden_field(:metacodes, :value, {:value => 0}) %>
<%= link_to 'Cancel', metacode_sets_path, { :class => 'button' }%>
<%= f.submit :class => 'add' %>
<% end %>