Sha256: 4b13ed93400a88520770c47cefc445bd45ab06d7661b921f40ee26ad18aa54cf

Contents?: true

Size: 621 Bytes

Versions: 1

Compression:

Stored size: 621 Bytes

Contents

<h2>Change your password</h2>

<%= simple_form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put }) do |f| %>
  <%= f.error_notification %>

  <%= f.input :reset_password_token, :as => :hidden %>
  <%= f.full_error :reset_password_token %>

  <div class="inputs">
    <%= f.input :password, :label => "New password" %>
    <%= f.input :password_confirmation, :label => "Confirm your new password", :required => true %>
  </div>

  <div class="actions">
    <%= f.button :submit, "Change my password" %>
  </div>
<% end %>

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
devise-1.4.1 lib/generators/devise/simple_form_for/passwords/edit.html.erb