mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-27 23:45:52 +08:00
Fix move experiment modal form submission [SCI-9079]
This commit is contained in:
parent
512753f164
commit
c76fca0ab3
1 changed files with 4 additions and 4 deletions
|
@ -4,10 +4,10 @@
|
|||
role="dialog"
|
||||
aria-labelledby="move-experiment-modal-label">
|
||||
<%= form_with model: @experiment,
|
||||
url: move_experiment_path(@experiment),
|
||||
method: :post,
|
||||
remote: true,
|
||||
html: { class: 'experiment-action-form' } do |f| %>
|
||||
url: move_experiment_path(@experiment),
|
||||
method: :post,
|
||||
data: { remote: true },
|
||||
html: { class: 'experiment-action-form' } do |f| %>
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
|
|
Loading…
Add table
Reference in a new issue