Sha256: e703c86f793c7f90d59b57f0ae2165cbad15d76d3a0e5eb5cc4d29ed488ed251

Contents?: true

Size: 847 Bytes

Versions: 11

Compression:

Stored size: 847 Bytes

Contents

<%= form_with(url: admin_password_reset_path, method: :patch, class: "card card-md") do |form| %>
  <div class="card-body">
    <h1 class="card-title text-center mb-4">Reset password</h1>

    <%= hidden_field_tag :token, params[:token] %>

    <div class="mb-3">
      <%= form.label :password, "New password", class: "form-label" %>
      <%= form.password_field :password, required: true, autofocus: true, autocomplete: "new-password", class: "form-control" %>
    </div>

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

    <div class="form-footer">
      <%= form.submit "Save changes", class: "btn btn-primary w-100" %>
    </div>
  </div>
<% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
administration-zero-1.0.6 lib/generators/admin/install/templates/erb/admin/password_resets/edit.html.erb
administration-zero-1.0.5 lib/generators/admin/install/templates/erb/admin/password_resets/edit.html.erb
administration-zero-1.0.4 lib/generators/admin/install/templates/erb/admin/password_resets/edit.html.erb
administration-zero-1.0.3 lib/generators/admin/install/templates/erb/admin/password_resets/edit.html.erb
administration-zero-1.0.2 lib/generators/admin/install/templates/erb/admin/password_resets/edit.html.erb
administration-zero-1.0.1 lib/generators/admin/install/templates/erb/admin/password_resets/edit.html.erb
administration-zero-1.0.0 lib/generators/admin/install/templates/erb/admin/password_resets/edit.html.erb
administration-zero-0.0.18 lib/generators/admin/install/templates/erb/admin/password_resets/edit.html.erb
administration-zero-0.0.17 lib/generators/admin/install/templates/erb/admin/password_resets/edit.html.erb
administration-zero-0.0.16 lib/generators/admin/install/templates/erb/admin/password_resets/edit.html.erb
administration-zero-0.0.15 lib/generators/admin/install/templates/erb/admin/password_resets/edit.html.erb