You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

password_recovery.html.erb 1016B

1234567891011121314151617181920212223
  1. <h2><%=l(:label_password_lost)%></h2>
  2. <%= error_messages_for 'user' %>
  3. <%= form_tag(lost_password_path) do %>
  4. <%= hidden_field_tag 'token', @token.value %>
  5. <div class="box tabular">
  6. <p>
  7. <label for="new_password"><%=l(:field_new_password)%> <span class="required">*</span></label>
  8. <%= password_field_tag 'new_password', nil, :size => 25 %>
  9. <em class="info"><%= l(:text_caracters_minimum, :count => Setting.password_min_length) %></em>
  10. <% if Setting.password_required_char_classes.any? %>
  11. <em class="info"><%= l(:text_characters_must_contain, :character_classes => Setting.password_required_char_classes.collect{|c| l("label_password_char_class_#{c}")}.join(", ")) %></em>
  12. <% end %>
  13. </p>
  14. <p>
  15. <label for="new_password_confirmation"><%=l(:field_password_confirmation)%> <span class="required">*</span></label>
  16. <%= password_field_tag 'new_password_confirmation', nil, :size => 25 %>
  17. </p>
  18. </div>
  19. <p><%= submit_tag l(:button_save) %></p>
  20. <% end %>