Sha256: 274cda5a8c449414ef1e533459fc4962856deb943bffa62181cdfe262e527f9e
Contents?: true
Size: 839 Bytes
Versions: 4
Compression:
Stored size: 839 Bytes
Contents
<% content_for :meta_title, 'Login with your email' %> <% content_for :meta_description, "We need your email address to initiate the login or account creation procedure." %> <% unless current_user # most folks coming to this page should not be logged in %> <h1 id="login-header">Login</h1> <%= render 'email_input_form' %> <% else # the user is already logged in %> <h1>You are already logged in</h1> <p>This is the login page but it appears that you are already logged in with this address: <strong><%= current_user.email %></strong></p> <p><%= link_to 'go to home page', root_path, class: 'btn btn-primary' %><%= link_to 'logout', disconnect_path, class: 'btn btn-default' %></p> <% end %> <%= render 'admin_context_menu' %> <%# partial in tkh_menus gem or has to be added in host app %> <%= render './shared/menus' %>
Version data entries
4 entries across 4 versions & 1 rubygems