From c6a7838df1a64b5e841f933e90d024dcb9b958e9 Mon Sep 17 00:00:00 2001 From: cryptogopher Date: Sat, 9 Nov 2024 02:02:01 +0100 Subject: [PATCH] Change 'Back' button to tab --- app/views/users/registrations/edit.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/users/registrations/edit.html.erb b/app/views/users/registrations/edit.html.erb index 0a6aeef..28c323e 100644 --- a/app/views/users/registrations/edit.html.erb +++ b/app/views/users/registrations/edit.html.erb @@ -1,6 +1,6 @@ <% content_for :navigation, flush: true do %> - <%= image_link_to t(:back), 'arrow-left-bold-outline', - request.referer.present? ? :back : root_path %> + <%= link_to svg_tag("pictograms/arrow-left-bold-outline") + t(:back), + request.referer.present? ? :back : root_path, class: 'tab' %> <% end %>