quangoinc/realtime_qa

View on GitHub
app/views/devise/passwords/new.html.erb

Summary

Maintainability
Test Coverage


<%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :post }, :html =>{:class => "form-signin", :style => "margin-top:50px;"}) do |f| %>
<h2 class="form-signin-header">Recover Password</h2>
  <%= devise_error_messages! %>

  <%= f.email_field :email, :autofocus => true, :placeholder => "Email Address" %>

  <div><%= f.submit "Send me reset password instructions", :class => "btn btn-primary" %></div>
<% end %>
<div class="span4 offset4">
<%= render "devise/shared/links" %>
</div>