%= bootstrap_form_for @custom_field, url: organization_custom_field_path(@organization, @custom_field, format: :json), remote: :true, method: :delete, data: { role: "destroy-custom-field-form", id: @custom_field.id } do |f| %> <%= f.hidden_field :column_index, value: column_index %>
<%= t("samples.modal_delete_custom_field.message", cf: @custom_field.name) %>