annotate .svn/pristine/60/605300991a217a31e089ae3acad1c23e2a680595.svn-base @ 1524:82fac3dcf466 redmine-2.5-integration

Fix failure to interpret Javascript when autocompleting members for project
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Thu, 11 Sep 2014 10:24:38 +0100
parents 261b3d9a4903
children
rev   line source
Chris@1464 1 <div class="contextual">
Chris@1464 2 <%= link_to(l(:button_change_password), {:action => 'password'}, :class => 'icon icon-passwd') if @user.change_password_allowed? %>
Chris@1464 3 <%= call_hook(:view_my_account_contextual, :user => @user)%>
Chris@1464 4 </div>
Chris@1464 5
Chris@1464 6 <h2><%=l(:label_my_account)%></h2>
Chris@1464 7 <%= error_messages_for 'user' %>
Chris@1464 8
Chris@1464 9 <%= labelled_form_for :user, @user,
Chris@1464 10 :url => { :action => "account" },
Chris@1464 11 :html => { :id => 'my_account_form',
Chris@1464 12 :method => :post } do |f| %>
Chris@1464 13 <div class="splitcontentleft">
Chris@1464 14 <fieldset class="box tabular">
Chris@1464 15 <legend><%=l(:label_information_plural)%></legend>
Chris@1464 16 <p><%= f.text_field :firstname, :required => true %></p>
Chris@1464 17 <p><%= f.text_field :lastname, :required => true %></p>
Chris@1464 18 <p><%= f.text_field :mail, :required => true %></p>
Chris@1464 19 <p><%= f.select :language, lang_options_for_select %></p>
Chris@1464 20 <% if Setting.openid? %>
Chris@1464 21 <p><%= f.text_field :identity_url %></p>
Chris@1464 22 <% end %>
Chris@1464 23
Chris@1464 24 <% @user.custom_field_values.select(&:editable?).each do |value| %>
Chris@1464 25 <p><%= custom_field_tag_with_label :user, value %></p>
Chris@1464 26 <% end %>
Chris@1464 27 <%= call_hook(:view_my_account, :user => @user, :form => f) %>
Chris@1464 28 </fieldset>
Chris@1464 29
Chris@1464 30 <%= submit_tag l(:button_save) %>
Chris@1464 31 </div>
Chris@1464 32
Chris@1464 33 <div class="splitcontentright">
Chris@1464 34 <fieldset class="box">
Chris@1464 35 <legend><%=l(:field_mail_notification)%></legend>
Chris@1464 36 <%= render :partial => 'users/mail_notifications' %>
Chris@1464 37 </fieldset>
Chris@1464 38
Chris@1464 39 <fieldset class="box tabular">
Chris@1464 40 <legend><%=l(:label_preferences)%></legend>
Chris@1464 41 <%= render :partial => 'users/preferences' %>
Chris@1464 42 <%= call_hook(:view_my_account_preferences, :user => @user, :form => f) %>
Chris@1464 43 </fieldset>
Chris@1464 44
Chris@1464 45 </div>
Chris@1464 46 <% end %>
Chris@1464 47
Chris@1464 48 <% content_for :sidebar do %>
Chris@1464 49 <%= render :partial => 'sidebar' %>
Chris@1464 50 <% end %>
Chris@1464 51
Chris@1464 52 <% html_title(l(:label_my_account)) -%>