Sha256: 4e2b7d37cac04fefce71436b687d7cb859cffbe7dc6ab05a9a128831dd9bc7b5

Contents?: true

Size: 998 Bytes

Versions: 8

Compression:

Stored size: 998 Bytes

Contents

<div class="page-header">
  <h1>Change your password</h1>
</div>

<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put, :class => 'form-horizontal' }) do |f| %>
  <%= devise_error_messages! %>
  <%= f.hidden_field :reset_password_token %>

  <div class="control-group">
    <%= f.label :password, "New password", :class => 'control-label' %>
    <div class="controls">
      <%= f.password_field :password, :autofocus => true%>
    </div>
  </div>
  
  <div class="control-group">
    <%= f.label :password_confirmation, "Confirm new password", :class => 'control-label' %>
    <div class="controls">
      <%= f.password_field :password_confirmation %>
    </div>
  </div>

  <div class="form-actions">
    <%= f.submit "Change my password", :class => 'btn btn-primary' %>
    <%= link_to t('.cancel', :default => t("helpers.links.cancel")),
                :back, :class => 'btn' %>
  </div>
<% end %>

<%= render "devise/shared/links" %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
git_wit-0.0.6 test/dummy/app/views/devise/passwords/edit.html.erb
git_wit-0.0.6.pre test/dummy/app/views/devise/passwords/edit.html.erb
git_wit-0.0.5 test/dummy/app/views/devise/passwords/edit.html.erb
git_wit-0.0.4.pre2 test/dummy/app/views/devise/passwords/edit.html.erb
git_wit-0.0.4.pre test/dummy/app/views/devise/passwords/edit.html.erb
git_wit-0.0.3 test/dummy/app/views/devise/passwords/edit.html.erb
git_wit-0.0.2 test/dummy/app/views/devise/passwords/edit.html.erb
git_wit-0.0.1 test/dummy/app/views/devise/passwords/edit.html.erb