<%= fields_for "form[fields][#{index}]", field do |f| %> <%= f.hidden_field :_type %><%= f.label :name, 'Name *' %><%= f.text_field :name %> Multi-Select box <%= f.label :label, 'Label' %><%= f.text_field :label %> <%= f.label :default, 'Default Option' %><%= f.text_field :default %> - <%= f.label :options, 'Options' %><%= f.text_field :options %> <%= f.label :required, 'Required?' %><%= f.check_box :required %> up down <%= link_to_function 'Delete', 'return delete_form_field(this);', :class => 'delete' %> <% end %>