forked from saurabh/orbit4-5
31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
<section id="main-wrap">
|
|
<div class="sign-in have-other-sign-in">
|
|
|
|
<div class="form">
|
|
<h3 class="login-logo">Change Password</h3>
|
|
<div>
|
|
<input name="utf8" type="hidden" value="" />
|
|
<input name="authenticity_token" type="hidden" value="" />
|
|
</div>
|
|
|
|
<div class="form-block">
|
|
<div class="form-list clearfix">
|
|
<%= form_for @user, url: password_path(id: @user.id), remote: true, :html => { :class => 'user_new form-horizontal content' } do |f| %>
|
|
|
|
<%= f.hidden_field :reset_token, value: params[:token] %>
|
|
|
|
<div><%= f.label :password, "New password" %><br />
|
|
<%= f.password_field :password, placeholder: t(:dots) %></div>
|
|
|
|
<div><%= f.label :password_confirmation, "Confirm new password" %><br />
|
|
<%= f.password_field :password_confirmation , placeholder: t(:dots)%></div>
|
|
<p></p>
|
|
|
|
<div><%= f.submit "Change my password", :class => 'btn btn-primary' %></div>
|
|
</div>
|
|
</div>
|
|
<% end %>
|
|
|
|
</div>
|
|
</div>
|
|
</section> |