app/views/reset_password/edit.html.erb
<% content_for :title, t(:reset_password) -%>
<h1><%= content_for :title %></h1>
<%= form_for @user, :url => { :action => 'update' } do |f| %>
<%= f.error_messages %>
<p>
<%= label_tag :password, t(:password) %>:<br>
<%= f.password_field :password, { :class => 'text_input' } %>
</p>
<p>
<%= label_tag :confirm_password, t(:confirm_password) %>:<br>
<%= f.password_field :password_confirmation, { :class => 'text_input' } %>
</p>
<p>
<%= f.submit t(:reset_password) %> —
<%= link_to t(:back), new_session_path %>
</p>
<% end %>