summaryrefslogtreecommitdiffstats
path: root/app/views/layouts
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-08-26 09:25:25 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-08-26 09:25:25 +0000
commita2e59cc956e4c6c7bf621a90a78cc9c3a8ac6961 (patch)
tree6bde994cc385dae1733aee8d96a7cca70322b331 /app/views/layouts
parent5969df81424968af69cc7b584242d48bf7d5c51e (diff)
downloadredmine-a2e59cc956e4c6c7bf621a90a78cc9c3a8ac6961.tar.gz
redmine-a2e59cc956e4c6c7bf621a90a78cc9c3a8ac6961.zip
Don't use tag helper in layout (#11704).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10237 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/layouts')
-rw-r--r--app/views/layouts/base.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/base.html.erb b/app/views/layouts/base.html.erb
index a2d924bda..e96b278c8 100644
--- a/app/views/layouts/base.html.erb
+++ b/app/views/layouts/base.html.erb
@@ -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 %>