<%= form_for(@result, url: my_module_result_assets_path(format: :json), data: { type: :json }) do |f| %>
<%= t('assets.drag_n_drop.label_html') %>

<%= f.button t('result_assets.new.create'), class: 'btn btn-primary save-result', onclick: 'DragNDropResults.processResult(event);', data: { href: my_module_result_assets_path(page: params[:page], order: params[:order], format: :json) } %> <%= f.button t('general.cancel'), class: 'btn btn-secondary cancel-new', onclick: 'DragNDropResults.destroyAll();', type: 'button '%>
<% end %>