From 07d00dac33667f5f332a3047aa4d5fcff6b17ced Mon Sep 17 00:00:00 2001 From: Dean Lofts Date: Tue, 3 Sep 2024 10:11:23 +1000 Subject: [PATCH] make back button uniform --- app/views/devise/registrations/edit.html.erb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/views/devise/registrations/edit.html.erb b/app/views/devise/registrations/edit.html.erb index bf6c2e6..049b9eb 100644 --- a/app/views/devise/registrations/edit.html.erb +++ b/app/views/devise/registrations/edit.html.erb @@ -83,8 +83,6 @@

Unhappy? You can cancel your account here.

<%= 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' %> + -
- <%= link_to "Back", :back, class: 'text-lime-300 hover:text-lime-500 underline transition duration-300 ease-in-out' %> -
- \ No newline at end of file +<%= link_to 'Back', achievements_path, class: 'text-white hover:text-lime-300' %> \ No newline at end of file