]> source.dussan.org Git - redmine.git/commitdiff
Don't use tag helper in layout (#11704).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 26 Aug 2012 09:25:25 +0000 (09:25 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 26 Aug 2012 09:25:25 +0000 (09:25 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10237 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/layouts/base.html.erb

index a2d924bda17a61bde2af4e47d36035fe22e4552e..e96b278c884cc26f8219fdd00faa5323eccb9dde 100644 (file)
@@ -49,7 +49,7 @@
     <% end %>
 </div>
 
-<%= tag('div', {:id => 'main', :class => (sidebar_content? ? '' : 'nosidebar')}, true) %>
+<div id="main" class="<%= sidebar_content? ? '' : 'nosidebar' %>">
     <div id="sidebar">
         <%= yield :sidebar %>
         <%= view_layouts_base_sidebar_hook_response %>