|
<%= bootstrap_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f| %>
<div class="span4 offset4 well" style="">
<div class="login-panel panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><%= t 'registration.forgot_password' %></h3>
</div>
<div class="panel-body">
<form role="form">
<% bootstrap_flash %>
<%= f.alert_message "Please fix the errors below."%>
<fieldset>
<%= f.email_field :email, required: true, autofocus: true, class: "input-block-level" %>
<div class="form-group" style="margin-top: 25px;">
<%= f.submit t 'registration.reset_password_submit' %>
<%= link_to (t 'nav.back'), new_user_session_path, class: 'btn btn-link ' %>
</div>
</fieldset>
</form>
</div>
</div>
</div>
<% end %>
|