]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/users/new.html.erb
Add tabbed navigation for signup/login screens
[rails.git] / app / views / users / new.html.erb
index 918b315e8aca21de45a1bfe95a2ca62d69cd7881..c3020180ca47266ba1e6311eb5d15a2bb5b02efc 100644 (file)
@@ -7,7 +7,14 @@
 
 <% content_for :heading do %>
   <div class="header-illustration new-user-main auth-container mx-auto">
-    <h1 class="pt-3"><%= t ".title" %></h1>
+    <ul class="nav nav-tabs position-absolute bottom-0 px-3 fs-6 w-100">
+      <li class="nav-item">
+        <%= link_to t("sessions.new.tab_title"), url_for(:action => :new, :controller => :sessions), :class => "nav-link" %>
+      </li>
+      <li class="nav-item">
+        <%= link_to t("users.new.tab_title"), "#", :class => "nav-link active" %>
+      </li>
+    </ul>
   </div>
 <% end %>