<%= form_for(@result, url: my_module_result_assets_path(format: :json), data: { type: :json }) do |f| %>
<%= t('assets.drag_n_drop.label_html') %>
<%= f.submit t('general.cancel'),
class: 'btn btn-secondary cancel-new',
onclick: 'DragNDropResults.destroyAll();' %>
<%= f.submit t('result_assets.new.create'),
class: 'btn btn-primary save-result',
onclick: 'DragNDropResults.processResult(event);',
disabled: true,
data: { href: my_module_result_assets_path(format: :json) } %>
<% end %>