diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-03-12 17:59:02 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-03-12 17:59:02 +0000 |
commit | 027bf93849e82ef3c60e4a3024db49d65f0fb3c9 (patch) | |
tree | c6bc438fcd50370944b94f605b3f34fe54b73248 /app/views/my/account.rhtml | |
parent | 071f8e18d02f789149071abb8e052bae7ad01003 (diff) | |
download | redmine-027bf93849e82ef3c60e4a3024db49d65f0fb3c9.tar.gz redmine-027bf93849e82ef3c60e4a3024db49d65f0fb3c9.zip |
added svn:eol-style native property on /app files
git-svn-id: http://redmine.rubyforge.org/svn/trunk@333 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/my/account.rhtml')
-rw-r--r-- | app/views/my/account.rhtml | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/app/views/my/account.rhtml b/app/views/my/account.rhtml index 09a43b468..8a1468cd5 100644 --- a/app/views/my/account.rhtml +++ b/app/views/my/account.rhtml @@ -1,11 +1,11 @@ <h2><%=l(:label_my_account)%></h2> -
-<p><%=l(:field_login)%>: <strong><%= @user.login %></strong><br />
-<%=l(:field_created_on)%>: <%= format_time(@user.created_on) %></p>
+ +<p><%=l(:field_login)%>: <strong><%= @user.login %></strong><br /> +<%=l(:field_created_on)%>: <%= format_time(@user.created_on) %></p> <%= error_messages_for 'user' %> -
-<div class="box">
+ +<div class="box"> <h3><%=l(:label_information_plural)%></h3> <% labelled_tabular_form_for :user, @user, :url => { :action => "account" } do |f| %> @@ -21,26 +21,26 @@ <% end %> <center><%= submit_tag l(:button_save) %></center> -<% end %>
-</div>
-
+<% end %> +</div> + -<% unless @user.auth_source_id %>
- <div class="box">
- <h3><%=l(:field_password)%></h3>
+<% unless @user.auth_source_id %> + <div class="box"> + <h3><%=l(:field_password)%></h3> <% form_tag({:action => 'change_password'}, :class => "tabular") do %> -
+ <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 %></p>
-
+ <%= password_field_tag 'new_password', nil, :size => 25 %></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>
+ <%= password_field_tag 'new_password_confirmation', nil, :size => 25 %></p> <center><%= submit_tag l(:button_save) %></center> - <% end %>
+ <% end %> </div> -<% end %>
+<% end %> |