<% content_for :header, t('pick_new_password_for', :scope => 'refinery.authentication.devise.users.reset', :email => resource.email) %> <%= form_for resource, :as => resource_name, :url => refinery.authentication_devise_user_password_path, :html => { :method => :put } do |f| %> <%= f.hidden_field :reset_password_token, :value => @reset_password_token %> <%= render '/refinery/admin/error_messages', :object => resource, :include_object_name => true %>
<%= f.label :password %> <%= f.password_field :password, :class => 'larger widest' %>
<%= f.label :password_confirmation %> <%= f.password_field :password_confirmation, :class => 'larger widest' %>
<%= render '/refinery/admin/form_actions', :f => f, :continue_editing => false, :submit_button_text => t('reset_password', :scope => 'refinery.authentication.devise.users.reset'), :cancel_url => refinery.login_path, :cancel_title => nil, :hide_delete => true -%> <% end -%>