Change 'Back' button to tab

This commit is contained in:
cryptogopher 2024-11-09 02:02:01 +01:00
parent 769e4af603
commit c6a7838df1

View File

@ -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 %>
<div class="rightside buttongrid">