annotate .svn/pristine/ad/adf63bdb3d105b946c217c01392128a7d913bff0.svn-base @ 1519:afce8026aaeb redmine-2.4-integration

Merge from branch "live"
author Chris Cannam
date Tue, 09 Sep 2014 09:34:53 +0100
parents 261b3d9a4903
children
rev   line source
Chris@1464 1 <h2><%=l(:button_change_password)%></h2>
Chris@1464 2
Chris@1464 3 <%= error_messages_for 'user' %>
Chris@1464 4
Chris@1464 5 <%= form_tag({}, :class => "tabular") do %>
Chris@1464 6 <div class="box">
Chris@1464 7 <p><label for="password"><%=l(:field_password)%> <span class="required">*</span></label>
Chris@1464 8 <%= password_field_tag 'password', nil, :size => 25 %></p>
Chris@1464 9
Chris@1464 10 <p><label for="new_password"><%=l(:field_new_password)%> <span class="required">*</span></label>
Chris@1464 11 <%= password_field_tag 'new_password', nil, :size => 25 %>
Chris@1464 12 <em class="info"><%= l(:text_caracters_minimum, :count => Setting.password_min_length) %></em></p>
Chris@1464 13
Chris@1464 14 <p><label for="new_password_confirmation"><%=l(:field_password_confirmation)%> <span class="required">*</span></label>
Chris@1464 15 <%= password_field_tag 'new_password_confirmation', nil, :size => 25 %></p>
Chris@1464 16 </div>
Chris@1464 17 <%= submit_tag l(:button_apply) %>
Chris@1464 18 <% end %>
Chris@1464 19
Chris@1464 20 <% unless @user.must_change_passwd? %>
Chris@1464 21 <% content_for :sidebar do %>
Chris@1464 22 <%= render :partial => 'sidebar' %>
Chris@1464 23 <% end %>
Chris@1464 24 <% end %>
Chris@1464 25
Chris@1464 26 <%= javascript_tag "$('#password').focus();" %>