orbit-basic/app/views/devise/registrations/edit.html.erb

19 lines
669 B
Plaintext
Raw Normal View History

2012-12-05 08:10:15 +00:00
<div class="vp">
<div class="s_title hh3">Password Managment</div>
<%= form_for(resource, :as => resource_name, :url => users_passwd_path(resource_name), :html => { :method => :put, "form-type"=>"ajax_form" ,"callback-method"=>"passwordUpdate" }) do |f| %>
<ul class="s_form">
<li><%= f.label :current_password %>
<%= f.password_field :current_password %></li>
2012-02-22 06:43:24 +00:00
2012-12-05 08:10:15 +00:00
<li><%= f.label :password %>
<%= f.password_field :password %></li>
2012-02-22 06:43:24 +00:00
2012-12-05 08:10:15 +00:00
<li><%= f.label :password_confirmation %>
<%= f.password_field :password_confirmation %></li>
</ul>
<div class="s_action"><%= f.submit "Update", :class => "setting_btn thmc1 thmtxt w1 hh2 hp" %></div>
2012-12-05 08:10:15 +00:00
<% end %>
</div>
2012-02-22 06:43:24 +00:00