ehmorris/cardslap

View on GitHub
app/views/passwords/edit.html.erb

Summary

Maintainability
Test Coverage
<p>Your password has been reset. Choose a new password below.</p>

<%= form_for(:user,
             :url  => user_password_path(@user, :token => @user.confirmation_token),
             :html => { :method => :put }) do |form| %>
    <%= form.password_field :password, :placeholder => 'choose password' %>
    <%= form.submit 'Save this password' %>
<% end %>