OpenProject is the leading open source project management software.
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.
openproject/app/views/my/password.html.erb

31 lines
1.1 KiB

<%#-- copyright
OpenProject is a project management system.
Copyright (C) 2012-2013 the OpenProject Team
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License version 3.
See doc/COPYRIGHT.rdoc for more details.
++#%>
<h2><%=l(:button_change_password)%></h2>
<%= error_messages_for 'user' %>
<%= form_tag({}, :class => "tabular", :autocomplete => 'off') do %>
<div class="box">
<p><label for="password"><%= User.human_attribute_name(:password)%> <span class="required">*</span></label>
<%= password_field_tag 'password', nil, :size => 25 %></p>
<p><label for="new_password"><%= User.human_attribute_name(:new_password) %> <span class="required">*</span></label>
<%= password_field_tag 'new_password', nil, :size => 25 %><br />
<%= password_complexity_requirements %></p>
<p><label for="new_password_confirmation"><%= User.human_attribute_name(:password_confirmation) %> <span class="required">*</span></label>
<%= password_field_tag 'new_password_confirmation', nil, :size => 25 %></p>
</div>
<%= submit_tag l(:button_apply) %>
<% end %>