Sha256: 47268897b09b03a0711e7063618a75a219c4332d5eb20c741d7866560c7e52ec

Contents?: true

Size: 1.12 KB

Versions: 3

Compression:

Stored size: 1.12 KB

Contents

<div class="container">
  <div class="devise-welcome">
    <h2>Leather</h2>
    <h3>Change your password.</h3>
  </div>
  <div class="row">
    <div class="col-md-6 col-md-offset-3">
      <div class="devise-box">
        <%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %>
          <%= devise_error_messages! %>
          <%= f.hidden_field :reset_password_token %>

          <div class="form-group" >
            <%= f.label :password, "New password" %>
            <%= f.password_field :password, autofocus: true, autocomplete: "off", class: "form-control" %>
          </div>

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

          <div class="actions text-center">
            <%= f.submit "Send instructions", class: "btn btn-default" %>
          </div>
        <% end %>
      </div>
      <p class="devise-links">
        <%= render "devise/shared/links" %>
      </p>
    </div>
  </div>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
leather-0.0.3 app/views/devise/passwords/edit.html.erb
leather-0.0.2 app/views/devise/passwords/edit.html.erb
leather-0.0.1 app/views/devise/passwords/edit.html.erb