Sha256: fb8ddc0a77c57dc3597b4ed7dbba2817330c0d8848a88afce098f8bbb6e23d30

Contents?: true

Size: 998 Bytes

Versions: 46

Compression:

Stored size: 998 Bytes

Contents

<h1>Reset your password</h1>

<%%= form_with(url: identity_password_reset_path, method: :patch) do |form| %>
  <%% if @user.errors.any? %>
    <div style="color: red">
      <h2><%%= pluralize(@user.errors.count, "error") %> prohibited this user from being saved:</h2>

      <ul>
        <%% @user.errors.each do |error| %>
          <li><%%= error.full_message %></li>
        <%% end %>
      </ul>
    </div>
  <%% end %>

  <%%= form.hidden_field :sid, value: params[:sid] %>

  <div>
    <%%= form.label :password, "New password", style: "display: block" %>
    <%%= form.password_field :password, required: true, autofocus: true, autocomplete: "new-password" %>
    <div>12 characters minimum.</div>
  </div>

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

  <div>
    <%%= form.submit "Save changes" %>
  </div>
<%% end %>

Version data entries

46 entries across 46 versions & 1 rubygems

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