Sha256: 2d9b320d8a103aeb91d51bd2e1cc73ac10d6a7c5617971e41964060fe73d7aa6

Contents?: true

Size: 980 Bytes

Versions: 39

Compression:

Stored size: 980 Bytes

Contents

<p style="color: green"><%%= notice %></p>
<p style="color: red"><%%= alert %></p>

<h1>Sign in</h1>

<%%= form_with(url: sign_in_path) do |form| %>
  <div>
    <%%= form.label :email, style: "display: block" %>
    <%%= form.email_field :email, value: params[:email_hint], required: true, autofocus: true, autocomplete: "email" %>
  </div>

  <div>
    <%%= form.label :password, style: "display: block" %>
    <%%= form.password_field :password, required: true, autocomplete: "current-password" %>
  </div>

  <div>
    <%%= form.submit "Sign in" %>
  </div>
<%% end %>

<br>

<%- if passwordless? %>
<div>
  <%%= link_to "Sign in without password", new_sessions_passwordless_path %>
</div>
<%- end -%>
<%- if omniauthable? %>
<div>
  <%%= button_to "Sign in with OmniAuth", "/auth/developer", "data-turbo" => false %>
</div>
<%- end -%>

<br>

<div>
  <%%= link_to "Sign up", sign_up_path %> |
  <%%= link_to "Forgot your password?", new_identity_password_reset_path %>
</div>

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
authentication-zero-4.0.3 lib/generators/authentication/templates/erb/sessions/new.html.erb.tt
authentication-zero-4.0.2 lib/generators/authentication/templates/erb/sessions/new.html.erb.tt
authentication-zero-4.0.1 lib/generators/authentication/templates/erb/sessions/new.html.erb.tt
authentication-zero-4.0.0 lib/generators/authentication/templates/erb/sessions/new.html.erb.tt
authentication-zero-3.0.2 lib/generators/authentication/templates/erb/sessions/new.html.erb.tt
authentication-zero-3.0.1 lib/generators/authentication/templates/erb/sessions/new.html.erb.tt
authentication-zero-3.0.0 lib/generators/authentication/templates/erb/sessions/new.html.erb.tt
authentication-zero-3.0.0.alpha1 lib/generators/authentication/templates/erb/sessions/new.html.erb.tt
authentication-zero-2.16.36 lib/generators/authentication/templates/erb/sessions/new.html.erb.tt
authentication-zero-2.16.35 lib/generators/authentication/templates/erb/sessions/new.html.erb.tt
authentication-zero-2.16.34 lib/generators/authentication/templates/erb/sessions/new.html.erb.tt
authentication-zero-2.16.33 lib/generators/authentication/templates/erb/sessions/new.html.erb.tt
authentication-zero-2.16.32 lib/generators/authentication/templates/erb/sessions/new.html.erb.tt
authentication-zero-2.16.31 lib/generators/authentication/templates/erb/sessions/new.html.erb.tt
authentication-zero-2.16.30 lib/generators/authentication/templates/erb/sessions/new.html.erb.tt
authentication-zero-2.16.29 lib/generators/authentication/templates/erb/sessions/new.html.erb.tt
authentication-zero-2.16.28 lib/generators/authentication/templates/erb/sessions/new.html.erb.tt
authentication-zero-2.16.27 lib/generators/authentication/templates/erb/sessions/new.html.erb.tt
authentication-zero-2.16.26 lib/generators/authentication/templates/erb/sessions/new.html.erb.tt
authentication-zero-2.16.25 lib/generators/authentication/templates/erb/sessions/new.html.erb.tt