<% content_for :heading do %>
<div class="header-illustration new-user-main auth-container mx-auto">
- <h1 class="pt-3"><%= t ".heading" %></h1>
- <div>
+ <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"), "#", :class => "nav-link active" %>
+ </li>
+ <li class="nav-item">
+ <%= link_to t("users.new.tab_title"), url_for(:action => :new, :controller => :users), :class => "nav-link" %>
+ </li>
+ </ul>
+ </div>
<% end %>
<div id="login_login" class="auth-container mx-auto my-0">
<% content_for :heading_class, "p-0 mw-100" %>
<% content_for :heading do %>
<div class="header-illustration new-user-main auth-container mx-auto">
- <h1><%= t "users.new.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 %>
<% 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 %>
sessions:
new:
title: "Log in"
+ tab_title: "Log in"
heading: "Log in"
email or username: "Email Address or Username"
password: "Password"
users:
new:
title: "Sign Up"
+ tab_title: "Sign up"
no_auto_account_create: "Unfortunately we are not currently able to create an account for you automatically."
please_contact_support_html: 'Please contact %{support_link} to arrange for an account to be created - we will try and deal with the request as quickly as possible.'
support: support