Sha256: 212c046379645b3bf8c13ca12ecfbe0efdd22da36b926c93c668a24cc4d7545b

Contents?: true

Size: 988 Bytes

Versions: 1

Compression:

Stored size: 988 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], autofocus: true, required: 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 options.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

1 entries across 1 versions & 1 rubygems

Version Path
authentication-zero-2.16.5 lib/generators/authentication/templates/erb/sessions/new.html.erb.tt