metamaps--metamaps/views/users/passwords/edit.html.erb

21 lines
723 B
Text
Raw Normal View History

2018-03-04 02:25:42 +00:00
{ content_for :title, "Change Password | Metamaps" }
{ content_for :mobile_title, "Change Password" }
2013-07-10 18:02:38 +00:00
2014-08-12 15:09:53 +00:00
<div id="yield">
2018-03-04 02:25:42 +00:00
{ form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put, :class => "forgotPassword centerGreyForm forgotPasswordReset" }) do |f| }
{ f.hidden_field :reset_password_token }
2013-07-10 18:02:38 +00:00
2014-10-27 22:24:30 +00:00
<h3>Change password</h3>
2013-07-10 18:02:38 +00:00
2018-03-04 02:25:42 +00:00
<div>{ f.label :password, "New password", :class => "firstFieldText" }
{ f.password_field :password, :autofocus => true }</div>
2013-07-10 18:02:38 +00:00
2018-03-04 02:25:42 +00:00
<div>{ f.label :password_confirmation, "Confirm new password", :class => "firstFieldText" }
{ f.password_field :password_confirmation }</div>
2013-07-10 18:02:38 +00:00
2018-03-04 02:25:42 +00:00
<div>{ f.submit "Change my password" }</div>
2013-07-10 18:02:38 +00:00
2018-03-04 02:25:42 +00:00
{ end }
2014-08-12 15:09:53 +00:00
</div>
2013-07-10 18:02:38 +00:00