Sha256: 89f26cd0ae6d497152e116a30891fcc823e5ccc51f5b33c62ab0159b1722a11d

Contents?: true

Size: 899 Bytes

Versions: 5

Compression:

Stored size: 899 Bytes

Contents

<div id="forgot-password" class="card mt-5 shadow-sm">
  <div class="card-body">
    <%= render partial: 'spree/admin/shared/error_messages', locals: { target: @spree_user } %>
    <h5 class="card-title"><%= Spree.t(:change_my_password) %></h5>
    <%= form_for @spree_user, as: :spree_user, url: spree.admin_update_password_path, method: :put do |f| %>
      <div class="form-group">
        <%= f.label :password, Spree.t(:password) %>
        <%= f.password_field :password, class: 'form-control', required: true %>
      </div>
      <div class="form-group">
        <%= f.label :password_confirmation, Spree.t(:confirm_password) %>
        <%= f.password_field :password_confirmation, class: 'form-control', required: true %>
      </div>
      <%= f.hidden_field :reset_password_token %>
      <%= f.submit Spree.t(:update), class: 'btn btn-primary btn-block' %>
    <% end %>
  </div>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spree_auth_devise-4.6.3 lib/views/backend/spree/admin/user_passwords/edit.html.erb
spree_auth_devise-4.6.2 lib/views/backend/spree/admin/user_passwords/edit.html.erb
spree_auth_devise-4.6.1 lib/views/backend/spree/admin/user_passwords/edit.html.erb
spree_auth_devise-4.6.0 lib/views/backend/spree/admin/user_passwords/edit.html.erb
spree_auth_devise-4.5.0 lib/views/backend/spree/admin/user_passwords/edit.html.erb