<%= bootstrap_form_for record, :url=>record.new_record? ? hydra_editor.records_path : hydra_editor.record_path(record), html: {:class => 'form-inline editor'} do |f| %>

Descriptions * indicates required fields

<% f.object.terms_for_editing.each do |term| %> <%= render :partial => "records/edit_field", :locals => {:f =>f, :render_req => true, :key => term } %> <% end %>
<%= hidden_field_tag :type, params[:type] %> <%= f.actions do %> <%= f.submit 'Save' %> <%= f.cancel %> <% end %> <% end %>