2012-12-05 08:10:15 +00:00
|
|
|
<div class="vp">
|
2013-03-05 01:39:01 +00:00
|
|
|
<div class="s_title hh2">Password Managment</div>
|
2012-12-05 08:10:15 +00:00
|
|
|
<%= 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">
|
2013-04-01 02:50:31 +00:00
|
|
|
<li class="s_grid_row">
|
|
|
|
<%= f.label :current_password, :class => 's_grid s_grid_4' %>
|
|
|
|
<%= f.password_field :current_password, :class => 's_grid s_grid_8' %>
|
|
|
|
</li>
|
2012-02-22 06:43:24 +00:00
|
|
|
|
2013-04-01 02:50:31 +00:00
|
|
|
<li class="s_grid_row">
|
|
|
|
<%= f.label :password, :class => 's_grid s_grid_4' %>
|
|
|
|
<%= f.password_field :password, :class => 's_grid s_grid_8' %>
|
|
|
|
</li>
|
2012-02-22 06:43:24 +00:00
|
|
|
|
2013-04-01 02:50:31 +00:00
|
|
|
<li class="s_grid_row">
|
|
|
|
<%= f.label :password_confirmation, :class => 's_grid s_grid_4' %>
|
|
|
|
<%= f.password_field :password_confirmation, :class => 's_grid s_grid_8' %>
|
|
|
|
</li>
|
2012-12-05 08:10:15 +00:00
|
|
|
</ul>
|
2013-03-05 01:39:01 +00:00
|
|
|
<div class="s_action"><%= f.submit "Update", :class => "setting_btn thmc1 thmtxt w1 hh1 hp" %></div>
|
2012-12-05 08:10:15 +00:00
|
|
|
<% end %>
|
|
|
|
</div>
|
2012-02-22 06:43:24 +00:00
|
|
|
|