orbit-basic/app/views/devise/passwords/new.html.erb

36 lines
1.4 KiB
Plaintext
Raw Permalink Normal View History

<section id="main-wrap">
<div class="sign-in have-other-sign-in">
<!-- <p class="alert alert-error in fade">You need to sign in.</p>
-->
2012-02-22 06:43:24 +00:00
<div class="form">
<h3 class="login-logo">Reset Your Password</h3>
<div>
<input name="utf8" type="hidden" value="" />
<input name="authenticity_token" type="hidden" value="" />
</div>
<!-- <div class="other-sign-in">
<a class="btn btn-primary" type="submit">Other Sign In</a>
<p>or</p>
</div> -->
<div class="form-block">
<div class="form-list clearfix">
<form class="content" accept-charset="UTF-8" action="/users/sign_in" method="post">
<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :post, :class => 'user_new form-horizontal' }) do |f| %>
<%= devise_error_messages! %>
<div class="control-group clear">
<label for="user_email">
<i class="icons-mail "></i>
</label>
<%= f.text_field :email, :placeholder => t(:email), :id=>"user_email" %>
</div>
<%= content_tag :button, "Reset Password", :type => :submit, :class => 'btn btn-primary' %>
</form>
</div>
</div>
<% end %>
</div>
</div>
</section>