Sha256: 7f54b9318df820bd1e216629bb208e98db5e71eea569e34c698c89aab6b1df1e

Contents?: true

Size: 1.22 KB

Versions: 8

Compression:

Stored size: 1.22 KB

Contents

<div class="col-sm-9">
  <h2>Change your password</h2>

  <%= form_for(resource,
               as: resource_name,
               url: user_password_path,
               html: { method: :put, id: 'password_edit', role: 'form' }) do |f| %>
    <%= render partial: 'devise/shared/error_messages', resource: resource %>
    <%= f.hidden_field :reset_password_token %>

      <div class="form-group row">
        <label class="col-sm-2 col-form-label" for="inputPassword">New password</label>
        <div class="col-sm-4">
          <%= f.password_field :password, autofocus: true, autocomplete: 'off', class: 'form-control' %>
        </div>
      </div>
      <div class="form-group row">
        <label class="col-sm-2 col-form-label" for="inputPassword">Confirm new password</label>
        <div class="col-sm-4">
          <%= f.password_field :password_confirmation, autocomplete: 'off', class: 'form-control' %>
        </div>
      </div>
      <div class="form-group row">
        <div class="offset-sm-2 col-sm-6">
          <%= f.submit 'Change password', class: 'btn btn-primary' %>
          <%= link_to 'Cancel', root_path, class: 'btn btn-secondary' %>
        </div>
      </div>
  <% end %>

<%# render "devise/shared/links" %>
</div>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
bpluser-0.5.0 app/views/devise/passwords/edit.html.erb
bpluser-0.4.0 app/views/devise/passwords/edit.html.erb
bpluser-0.3.0 app/views/devise/passwords/edit.html.erb
bpluser-0.2.0.4 app/views/devise/passwords/edit.html.erb
bpluser-0.2.0.3 app/views/devise/passwords/edit.html.erb
bpluser-0.2.0.2 app/views/devise/passwords/edit.html.erb
bpluser-0.2.0.1 app/views/devise/passwords/edit.html.erb
bpluser-0.2.0 app/views/devise/passwords/edit.html.erb