##// END OF EJS Templates
Removed no longer needed to_sym....
Jean-Philippe Lang -
r4381:1d4f28a54dec
parent child
Show More
@@ -1,12 +1,12
1 1 <p>
2 <%= select_tag 'notification_option', options_for_select(@notification_options.collect {|o| [l(o.last), o.first]}, @notification_option.to_sym),
2 <%= select_tag 'notification_option', options_for_select(@notification_options.collect {|o| [l(o.last), o.first]}, @notification_option),
3 3 :onchange => 'if ($("notification_option").value == "selected") {Element.show("notified-projects")} else {Element.hide("notified-projects")}' %>
4 4 </p>
5 5 <% content_tag 'div', :id => 'notified-projects', :style => (@notification_option == 'selected' ? '' : 'display:none;') do %>
6 6 <p><% @user.projects.each do |project| %>
7 7 <label><%= check_box_tag 'notified_project_ids[]', project.id, @user.notified_projects_ids.include?(project.id) %> <%=h project.name %></label><br />
8 8 <% end %></p>
9 9 <p><em><%= l(:text_user_mail_option) %></em></p>
10 10 <% end %>
11 11 <p><label><%= l(:label_user_mail_no_self_notified) %></label><%= check_box_tag 'no_self_notified', 1, @user.pref[:no_self_notified] %></p>
12 12
General Comments 0
You need to be logged in to leave comments. Login now