ensl.org/app/views/users/forgot.html.erb
Absurdon 7ec019fda6
Fixing Password Rest
* Reverting 'forgot' view back to a form
* Adding smtp configuration for production
* Adding postfix image to docker-compose
2019-10-14 22:26:43 +02:00

24 lines
No EOL
731 B
Text

<h1>Password Recovery</h1>
<p>If you do not receive your new password by email, please see the guide <a href="https://www.ensl.org/articles/1042">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>