%= bootstrap_form_for form, url: record_form_action_url(form), html: {class: 'form-inline editor'} do |f| %>
<%= render 'records/form_header' %>
<% f.object.terms.each do |term| %>
<%= render "records/edit_field", f: f, render_req: true, key: term %>
<% end %>
<%= hidden_field_tag :type, params[:type] %>
<% end %>