Sha256: fc994cab955bf4b34286a01a85da182b0a6000c3c7d9e6faf7408cf42eff2d67

Contents?: true

Size: 709 Bytes

Versions: 7

Compression:

Stored size: 709 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 %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
tkh_authentication-0.9.15 app/views/reception/email_input.html.erb
tkh_authentication-0.9.14 app/views/reception/email_input.html.erb
tkh_authentication-0.9.13 app/views/reception/email_input.html.erb
tkh_authentication-0.9.12 app/views/reception/email_input.html.erb
tkh_authentication-0.9.11 app/views/reception/email_input.html.erb
tkh_authentication-0.9.10 app/views/reception/email_input.html.erb
tkh_authentication-0.9.9 app/views/reception/email_input.html.erb