%= simple_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_edit_field_partial(term, f: f) %>
<% end %>
<%= hidden_field_tag :type, params[:type] %>
<% end %>