Removed p around ul.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10190 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-08-10 18:39:49 +00:00
parent c0c491dd61
commit 32fcdff69f
1 changed files with 9 additions and 11 deletions

View File

@ -8,17 +8,15 @@
) %>
</p>
<%= content_tag 'div', :id => 'notified-projects', :style => (@user.mail_notification == 'selected' ? '' : 'display:none;') do %>
<p>
<%= render_project_nested_lists(@user.projects) do |project|
content_tag('label',
check_box_tag(
'notified_project_ids[]',
project.id,
@user.notified_projects_ids.include?(project.id)
) + ' ' + h(project.name)
)
end %>
</p>
<%= render_project_nested_lists(@user.projects) do |project|
content_tag('label',
check_box_tag(
'notified_project_ids[]',
project.id,
@user.notified_projects_ids.include?(project.id)
) + ' ' + h(project.name)
)
end %>
<p><em class="info"><%= l(:text_user_mail_option) %></em></p>
<% end %>
<p>