diff --git a/app/views/catalog/_ask_a_question_form.html.erb b/app/views/catalog/_ask_a_question_form.html.erb index fc564b72e..1604e3169 100644 --- a/app/views/catalog/_ask_a_question_form.html.erb +++ b/app/views/catalog/_ask_a_question_form.html.erb @@ -2,6 +2,7 @@ <%= render :partial=>'shared/flash_msg' %> <%= simple_form_for( form, + remote: true, url: contact_question_path, data: { blacklight_modal: 'trigger' }, html: {class: "modal_form"} @@ -18,7 +19,7 @@ <%= f.input :feedback_desc, as: :hidden %> <% end %> diff --git a/app/views/catalog/_report_harmful_language_form.html.erb b/app/views/catalog/_report_harmful_language_form.html.erb index 9a2154596..af37d552f 100644 --- a/app/views/catalog/_report_harmful_language_form.html.erb +++ b/app/views/catalog/_report_harmful_language_form.html.erb @@ -7,6 +7,7 @@ <%= simple_form_for( form, + remote: true, url: contact_report_harmful_language_path, data: { blacklight_modal: 'trigger' }, html: { class: "modal_form" } @@ -35,7 +36,7 @@ <%= f.input :feedback_desc, as: :hidden %> <% end %> diff --git a/app/views/catalog/_suggest_correction_form.html.erb b/app/views/catalog/_suggest_correction_form.html.erb index f6d2cd51e..7f4852824 100644 --- a/app/views/catalog/_suggest_correction_form.html.erb +++ b/app/views/catalog/_suggest_correction_form.html.erb @@ -3,6 +3,7 @@

Please use this area to report errors or omissions that appear in the description of this record.

<%= simple_form_for( form, + remote: true, url: contact_suggestion_path, data: { blacklight_modal: 'trigger' }, html: { class: "modal_form" } @@ -19,7 +20,7 @@ <%= f.input :feedback_desc, as: :hidden %> <% end %>