% content_for :breadcrumb do %>
- <%= link_to _('Sign in'), new_session_path(resource_name) %>
- <%= _('Password reset') %>
<% end %>
<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: {method: :post, role: 'form'}) do |f| %>
<% if resource.errors.any? %>
<% resource.errors.full_messages.each do |message| %>
<%= message %>
<% end %>
<% end %>
<%= f.label :email %>
<%= f.email_field :email, autofocus: true, class: 'form-control' %>
<% if resource.errors[:email].any? %>
<% end %>
<%= f.button _('Email a link to reset password'), class: 'btn btn-primary' %>
<% end %>