Skip to content

Commit

Permalink
Merge pull request #1120 from sul-dlss/1118-payment-form
Browse files Browse the repository at this point in the history
Turn off turbo for payment form
  • Loading branch information
corylown authored Jun 18, 2024
2 parents a8a6c38 + cefef35 commit 2f34497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/fines/_pay_all_button.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<% if amount.positive? %>
<div>
<% if patron_or_group.can_pay_fines? %>
<%= form_tag payments_path, method: :post do %>
<%= form_tag payments_path, data: { turbo: false }, method: :post do %>
<%= hidden_field_tag :user_id, patron_or_group.key %>
<%= hidden_field_tag :amount, format('%.2f', amount) %>
<%= button_tag class: 'btn btn-md btn-info', type: 'submit', data: { 'pay-button' => true } do %>
Expand Down

0 comments on commit 2f34497

Please sign in to comment.