summaryrefslogtreecommitdiffstats
path: root/app/views/account/password_recovery.html.erb
blob: 53c6350505f4f3d8dc388068862ed93f8afb1e7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<h2><%=l(:label_password_lost)%></h2>

<%= error_messages_for 'user' %>

<%= form_tag({:token => @token.value}) do %>
<div class="box tabular">
<p><label for="new_password"><%=l(:field_new_password)%> <span class="required">*</span></label>
<%= password_field_tag 'new_password', nil, :size => 25 %>
<em class="info"><%= l(:text_caracters_minimum, :count => Setting.password_min_length) %></em></p>

<p><label for="new_password_confirmation"><%=l(:field_password_confirmation)%> <span class="required">*</span></label>
<%= password_field_tag 'new_password_confirmation', nil, :size => 25 %></p>
</div>
<p><%= submit_tag l(:button_save) %></p>
<% end %>