Refactor admin donation pages, fix errors
All checks were successful
continuous-integration/drone/push Build is passing

Not sending the right response codes for Turbo to handle.
This commit is contained in:
Râu Cao
2023-03-15 15:24:00 +07:00
parent 95fac38b53
commit f050d010fd
7 changed files with 23 additions and 20 deletions

View File

@@ -33,9 +33,9 @@
</section>
<section>
<p>
<%= link_to 'Edit', edit_admin_donation_path(@donation), class: 'btn-md btn-blue mr-1' %>
<p class="pt-6 border-t border-gray-200 text-right">
<%= link_to 'Back', admin_donations_path, class: 'btn-md btn-gray' %>
<%= link_to 'Edit', edit_admin_donation_path(@donation), class: 'ml-2 btn-md btn-blue mr-1' %>
</p>
</section>
<% end %>