Sha256: a1bdfc2013cb0b866466b549331ea9194cb94cac9266598bc04efd56f471e3a5

Contents?: true

Size: 840 Bytes

Versions: 1

Compression:

Stored size: 840 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 %>
<% if options.omniauth? %>
<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_password_reset_path %>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

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