##// END OF EJS Templates
show "no data" label when there's nothing to display on changelog and roadmap...
show "no data" label when there's nothing to display on changelog and roadmap git-svn-id: http://redmine.rubyforge.org/svn/trunk@255 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r181:845460b16525
r252:ddd0796e403d
Show More
account.rhtml
46 lines | 1.6 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
0.3 unstable...
r10 <h2><%=l(:label_my_account)%></h2>
Jean-Philippe Lang
Initial commit...
r2
Jean-Philippe Lang
0.3 unstable...
r10 <p><%=l(:field_login)%>: <strong><%= @user.login %></strong><br />
Jean-Philippe Lang
updated date removed from my/account view (useless since account is updated at each login)...
r175 <%=l(:field_created_on)%>: <%= format_time(@user.created_on) %></p>
Jean-Philippe Lang
v0.2.0...
r5
<%= error_messages_for 'user' %>
Jean-Philippe Lang
Initial commit...
r2
Jean-Philippe Lang
form_for added in my/account view...
r64 <div class="box">
<h3><%=l(:label_information_plural)%></h3>
<% labelled_tabular_form_for :user, @user, :url => { :action => "account" } do |f| %>
<p><%= f.text_field :firstname, :required => true %></p>
<p><%= f.text_field :lastname, :required => true %></p>
<p><%= f.text_field :mail, :required => true, :size => 40 %></p>
<p><%= f.select :language, lang_options_for_select %></p>
<p><%= f.check_box :mail_notification %></p>
<% fields_for :pref, @user.pref, :builder => TabularFormBuilder, :lang => current_language do |pref_fields| %>
<p><%= pref_fields.check_box :hide_mail %></p>
<% end %>
<center><%= submit_tag l(:button_save) %></center>
<% end %>
</div>
Jean-Philippe Lang
Initial commit...
r2
Jean-Philippe Lang
tables and forms redesign,...
r19
Jean-Philippe Lang
Localization plugin removed (replaced with GLoc)...
r12 <% unless @user.auth_source_id %>
Jean-Philippe Lang
Initial commit...
r2 <div class="box">
Jean-Philippe Lang
0.3 unstable...
r10 <h3><%=l(:field_password)%></h3>
Jean-Philippe Lang
notice messages translation...
r15
Jean-Philippe Lang
deprecated start_form_tag replaced by form_tag...
r181 <% form_tag({:action => 'change_password'}, :class => "tabular") do %>
Jean-Philippe Lang
Initial commit...
r2
Jean-Philippe Lang
tables and forms redesign,...
r19 <p><label for="password"><%=l(:field_password)%> <span class="required">*</span></label>
Jean-Philippe Lang
v0.2.0...
r5 <%= password_field_tag 'password', nil, :size => 25 %></p>
Jean-Philippe Lang
Initial commit...
r2
Jean-Philippe Lang
tables and forms redesign,...
r19 <p><label for="new_password"><%=l(:field_new_password)%> <span class="required">*</span></label>
Jean-Philippe Lang
v0.2.0...
r5 <%= password_field_tag 'new_password', nil, :size => 25 %></p>
Jean-Philippe Lang
Initial commit...
r2
Jean-Philippe Lang
tables and forms redesign,...
r19 <p><label for="new_password_confirmation"><%=l(:field_password_confirmation)%> <span class="required">*</span></label>
Jean-Philippe Lang
v0.2.0...
r5 <%= password_field_tag 'new_password_confirmation', nil, :size => 25 %></p>
Jean-Philippe Lang
Initial commit...
r2
Jean-Philippe Lang
0.3 unstable...
r10 <center><%= submit_tag l(:button_save) %></center>
Jean-Philippe Lang
deprecated start_form_tag replaced by form_tag...
r181 <% end %>
Jean-Philippe Lang
Localization plugin removed (replaced with GLoc)...
r12 </div>
<% end %>