orbit-4-2/app/views/devise/passwords/edit.html.erb

33 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

<section id="main-wrap">
<div class="sign-in have-other-sign-in">
<div class="form">
<h3 class="login-logo">Change your 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(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put, :class => 'user_new form-horizontal content' }) do |f| %>
<%= devise_error_messages! %>
<%= f.hidden_field :reset_password_token %>
<div><%= f.label :password, "New password" %><br />
<%= f.password_field :password %></div>
<div><%= f.label :password_confirmation, "Confirm new password" %><br />
<%= f.password_field :password_confirmation %></div>
<p></p>
<div><%= f.submit "Change my password", :class => 'btn btn-primary' %></div>
</div>
</div>
<% end %>
<%= render :partial => "devise/shared/links" %>
</div>
</div>
</section>