%= bootstrap_form_for record, url: record_form_action_url(record), html: {:class => 'form-inline editor'} do |f| %>
<%= t('hydra_editor.form.title') %>
* <%= t('hydra_editor.form.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 %>