To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / app / views / my / password.html.erb @ 1531:ae8145b28b2b

History | View | Annotate | Download (916 Bytes)

1
<h2><%=l(:button_change_password)%></h2>
2

    
3
<%= error_messages_for 'user' %>
4

    
5
<%= form_tag({}, :class => "tabular") do %>
6
<div class="box">
7
<p><label for="password"><%=l(:field_password)%> <span class="required">*</span></label>
8
<%= password_field_tag 'password', nil, :size => 25 %></p>
9

    
10
<p><label for="new_password"><%=l(:field_new_password)%> <span class="required">*</span></label>
11
<%= password_field_tag 'new_password', nil, :size => 25 %>
12
<em class="info"><%= l(:text_caracters_minimum, :count => Setting.password_min_length) %></em></p>
13

    
14
<p><label for="new_password_confirmation"><%=l(:field_password_confirmation)%> <span class="required">*</span></label>
15
<%= password_field_tag 'new_password_confirmation', nil, :size => 25 %></p>
16
</div>
17
<%= submit_tag l(:button_apply) %>
18
<% end %>
19

    
20
<% unless @user.must_change_passwd? %>
21
<% content_for :sidebar do %>
22
<%= render :partial => 'sidebar' %>
23
<% end %>
24
<% end %>