Sha256: 25692b8f2d2560db59b8ff61f85e74fc8927e6123de5ddaadd7bc41d1f389a52

Contents?: true

Size: 704 Bytes

Versions: 2

Compression:

Stored size: 704 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>

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

Version data entries

2 entries across 2 versions & 1 rubygems

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