Skip to content

Commit

Permalink
Merge pull request #87 from loftwah/dl/make-back-link-uniform
Browse files Browse the repository at this point in the history
make back button uniform
  • Loading branch information
loftwah authored Sep 3, 2024
2 parents b222583 + 07d00da commit b5f2530
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions app/views/devise/registrations/edit.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@
<p class="mb-4 text-gray-300">Unhappy? You can cancel your account here.</p>
<%= button_to "Cancel my account", registration_path(resource_name), data: { confirm: "Are you sure? This action cannot be undone." }, method: :delete, class: 'bg-red-500 hover:bg-red-700 text-white font-bold py-2 px-4 rounded transition duration-300 ease-in-out' %>
</div>
</div>

<div class="mt-6 text-center">
<%= link_to "Back", :back, class: 'text-lime-300 hover:text-lime-500 underline transition duration-300 ease-in-out' %>
</div>
</div>
<%= link_to 'Back', achievements_path, class: 'text-white hover:text-lime-300' %>

0 comments on commit b5f2530

Please sign in to comment.