24 lines
889 B
Plaintext
24 lines
889 B
Plaintext
|
<h3><%=l(:button_change_password)%></h3>
|
||
|
|
||
|
<%= error_messages_for 'user' %>
|
||
|
|
||
|
<%= form_tag({}, :class => "tabular") do %>
|
||
|
<div class="box" style="margin:10px;">
|
||
|
<p><label for="password"><%=l(:field_password)%> <span class="required">*</span></label>
|
||
|
<%= password_field_tag 'password', nil, :size => 25 %></p>
|
||
|
|
||
|
<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>
|
||
|
<%= submit_tag l(:button_apply) %>
|
||
|
</div>
|
||
|
|
||
|
<% end %>
|
||
|
|
||
|
<% content_for :sidebar do %>
|
||
|
<%= render :partial => 'sidebar' %>
|
||
|
<% end %>
|