journalduhacker/app/views/login/forgot_password.html.erb
2012-06-16 20:15:46 -05:00

25 lines
533 B
Plaintext

<div class="box">
<div class="legend">
Reset Password
</div>
<p>
If you've forgotten your password, enter your e-mail address or username
below and instructions will be e-mailed to you.
</p>
<%= form_tag reset_password_url do %>
<% if flash[:error] %>
<div class="flash-error"><%= flash[:error] %></div>
<% end %>
<%= label_tag :email, "E-mail or Username:" %>
<%= text_field_tag :email, "", :size => 30 %>
<br />
<p>
<%= submit_tag "Reset Password" %>
</p>
<% end %>
</div>