diff --git a/app/views/my_module_tags/_index_edit.html.erb b/app/views/my_module_tags/_index_edit.html.erb index 9b5033fdd..8ec53ed32 100644 --- a/app/views/my_module_tags/_index_edit.html.erb +++ b/app/views/my_module_tags/_index_edit.html.erb @@ -68,9 +68,7 @@ :name, {}, { class: 'selectpicker' }) %> - <%= f.button class: 'btn btn-primary' do %> - <%= t("experiments.canvas.modal_manage_tags.create") %> - <% end %> + <%= f.submit t("experiments.canvas.modal_manage_tags.create"), class: 'btn btn-primary' %> <% end %> diff --git a/app/views/my_modules/modals/_new_modal.html.erb b/app/views/my_modules/modals/_new_modal.html.erb index 967fbca56..22666ddd5 100644 --- a/app/views/my_modules/modals/_new_modal.html.erb +++ b/app/views/my_modules/modals/_new_modal.html.erb @@ -80,7 +80,7 @@ - <%= f.button t('experiments.canvas.new_my_module_modal.create'), class: "btn btn-primary" %> + <%= f.submit t('experiments.canvas.new_my_module_modal.create'), class: "btn btn-primary" %> diff --git a/app/views/projects/index/modals/_new_project.html.erb b/app/views/projects/index/modals/_new_project.html.erb index cffceffad..9b8d10579 100644 --- a/app/views/projects/index/modals/_new_project.html.erb +++ b/app/views/projects/index/modals/_new_project.html.erb @@ -40,7 +40,7 @@
diff --git a/app/views/protocols/index/_new_protocol_modal.html.erb b/app/views/protocols/index/_new_protocol_modal.html.erb index e8153f382..ad0897414 100644 --- a/app/views/protocols/index/_new_protocol_modal.html.erb +++ b/app/views/protocols/index/_new_protocol_modal.html.erb @@ -41,7 +41,7 @@ diff --git a/app/views/result_assets/_edit.html.erb b/app/views/result_assets/_edit.html.erb index 2c0d76d44..5328a80c0 100644 --- a/app/views/result_assets/_edit.html.erb +++ b/app/views/result_assets/_edit.html.erb @@ -17,8 +17,7 @@ - <%= f.button t("general.save"), - class: 'btn btn-primary save-result' %> + <%= f.submit t("general.save"), class: 'btn btn-primary save-result' %> <% end %> diff --git a/app/views/result_tables/_edit.html.erb b/app/views/result_tables/_edit.html.erb index 5c93ceac9..b2615ad88 100644 --- a/app/views/result_tables/_edit.html.erb +++ b/app/views/result_tables/_edit.html.erb @@ -18,8 +18,7 @@ - <%= f.button t("general.save"), - class: 'btn btn-primary save-result' %> + <%= f.submit t("general.save"), class: 'btn btn-primary save-result' %> <% end %> diff --git a/app/views/result_tables/_new.html.erb b/app/views/result_tables/_new.html.erb index 47a5ca52d..890dc734b 100644 --- a/app/views/result_tables/_new.html.erb +++ b/app/views/result_tables/_new.html.erb @@ -17,8 +17,7 @@ - <%= f.button t("result_tables.new.create"), - class: 'btn btn-primary save-result' %> + <%= f.submit t("result_tables.new.create"), class: 'btn btn-primary save-result' %> <% end %> diff --git a/app/views/result_texts/_edit.html.erb b/app/views/result_texts/_edit.html.erb index 1001e20ad..99f4efaa7 100644 --- a/app/views/result_texts/_edit.html.erb +++ b/app/views/result_texts/_edit.html.erb @@ -19,8 +19,7 @@ - <%= f.button t("general.save"), - class: 'btn btn-primary save-result' %> + <%= f.submit t("general.save"), class: 'btn btn-primary save-result' %> <% end %> diff --git a/app/views/result_texts/_new.html.erb b/app/views/result_texts/_new.html.erb index d80694d2a..fb2b42be4 100644 --- a/app/views/result_texts/_new.html.erb +++ b/app/views/result_texts/_new.html.erb @@ -18,8 +18,7 @@ - <%= f.button t("result_texts.new.create"), - class: 'btn btn-primary save-result' %> + <%= f.submit t("result_texts.new.create"), class: 'btn btn-primary save-result' %> <% end %>