|
|
|
@ -1,6 +1,15 @@
|
|
|
|
|
<%= render :partial => "users/shared/links" %> |
|
|
|
|
<br> |
|
|
|
|
|
|
|
|
|
<%= simple_form_for(resource, |
|
|
|
|
<div class="row"> |
|
|
|
|
<div class="col-md-3"> |
|
|
|
|
|
|
|
|
|
<%= render 'users/shared/links' %> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
<div class="col-md-offset-2 col-md-4"> |
|
|
|
|
|
|
|
|
|
<div class="well"> |
|
|
|
|
<%= simple_form_for(resource, |
|
|
|
|
as: resource_name, |
|
|
|
|
url: password_path(resource_name), |
|
|
|
|
method: :put |
|
|
|
@ -13,4 +22,8 @@
|
|
|
|
|
<%= f.input :password_confirmation, label: "Confirm new password" %> |
|
|
|
|
|
|
|
|
|
<%= f.submit "Change my password", class: 'btn btn-primary' %> |
|
|
|
|
<% end %> |
|
|
|
|
<% end %> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
</div> |