summaryrefslogtreecommitdiffstats
path: root/app/views/my/account.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/my/account.rhtml')
-rw-r--r--app/views/my/account.rhtml36
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 %>