Sha256: 9e7b875a023c25389dd7efde4174642eb2436edf9067e6ff987b3de819fc927e

Contents?: true

Size: 849 Bytes

Versions: 4

Compression:

Stored size: 849 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_identity_password_reset_path %>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
authentication-zero-2.8.3 lib/generators/authentication/templates/erb/sessions/new.html.erb.tt
authentication-zero-2.8.2 lib/generators/authentication/templates/erb/sessions/new.html.erb.tt
authentication-zero-2.8.1 lib/generators/authentication/templates/erb/sessions/new.html.erb.tt
authentication-zero-2.8.0 lib/generators/authentication/templates/erb/sessions/new.html.erb.tt