This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/views/devise/passwords/edit.html.erb

33 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

2014-01-02 09:53:05 +00:00
<section id="main-wrap">
<div class="sign-in have-other-sign-in">
2012-02-22 06:43:24 +00:00
2014-01-02 09:53:05 +00:00
<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>
2012-02-22 06:43:24 +00:00
2014-01-02 09:53:05 +00:00
<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! %>
2012-02-22 06:43:24 +00:00
2014-01-02 09:53:05 +00:00
<%= f.hidden_field :reset_password_token %>
2012-02-22 06:43:24 +00:00
2014-01-02 09:53:05 +00:00
<div><%= f.label :password, "New password" %><br />
<%= f.password_field :password %></div>
2012-02-22 06:43:24 +00:00
2014-01-02 09:53:05 +00:00
<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>