<%=l(:button_change_password)%>

<%= error_messages_for 'user' %> <%= form_tag({}, :class => "tabular") do %>

<%= password_field_tag 'password', nil, :size => 25, :autocomplete => 'current-password' %>

<%= password_field_tag 'new_password', nil, :size => 25, :autocomplete => 'new-password' %> <%= l(:text_caracters_minimum, :count => Setting.password_min_length) %> <% if Setting.password_required_char_classes.any? %> <%= l(:text_characters_must_contain, :character_classes => Setting.password_required_char_classes.collect{|c| l("label_password_char_class_#{c}")}.join(", ")) %> <% end %>

<%= password_field_tag 'new_password_confirmation', nil, :size => 25, :autocomplete => 'new-password' %>

<%= submit_tag l(:button_apply) %> <% end %> <% unless @user.must_change_password? %> <% content_for :sidebar do %> <%= render :partial => 'sidebar' %> <% end %> <% end %>