Sha256: d46581d4e81bdb6e97bd52997e16912d6cafc186556340402a4ba516eaf1db48
Contents?: true
Size: 1.12 KB
Versions: 1
Compression:
Stored size: 1.12 KB
Contents
<div class="col"> <h2 class="align-class">Change your password</h2> <br> <%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %> <%= render "users/shared/error_messages", resource: resource %> <%= f.hidden_field :reset_password_token %> <div class="field col-6 mx-auto"> <%= f.label :password, "New password", class: "form-label" %><br /> <% if @minimum_password_length %> <em>(<%= @minimum_password_length %> characters minimum)</em><br /> <% end %> <%= f.password_field :password, autofocus: true, autocomplete: "new-password", class: "form-control" %> </div> <br> <div class="field col-6 mx-auto"> <%= f.label :password_confirmation, "Confirm new password", class: "form-label" %><br /> <%= f.password_field :password_confirmation, autocomplete: "new-password", class: "form-control" %> </div> <br> <div class="actions d-grid gap-2 col-6 mx-auto shadow"> <%= f.submit "Change my password", class: "btn btn-success btn-lg" %> </div> <% end %> <br> <%= render "users/shared/links" %> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
blog_app-0.0.1 | lib/app/views/users/passwords/edit.html.erb |