<h1>Password Recovery</h1>

<p>If you do not receive your new password by email, please see the guide <a href="http://www.ensl.org/articles/713">here</a>.</p>


<%= form_tag({ controller: 'users', action: 'forgot' }, { class: 'square' }) do %>
  <div class="fields horizontal">
    <%= label_tag :username %>
    <%= text_field_tag :username %>
  </div>

  <div class="fields horizontal">
    <%= label_tag :email %>
    <%= text_field_tag :email %>
  </div>

  <div class="controls">
    <%= submit_tag "Recover password" %>  
  </div>
<% end %>

<p>
  Special characters have been removed from nicks. <br> You may need to
  <%= link_to "search", users_url %> for your nickname in the database.
</p>