Skip to content

Commit

Permalink
Fix error introduced by 22959dc commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
romul authored and schof committed Jul 12, 2010
1 parent c2c3095 commit 5cb1118
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/app/views/layouts/admin.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<br class="clear" />
</div>

<div class="<%= 'with-sidebar ' unless @content_for_sidebar.blank? %> clear tile_bg" id="content">
<div class="<%= 'with-sidebar ' if content_for?(:sidebar) %> clear tile_bg" id="content">


<% if flash[:error] %>
Expand All @@ -53,7 +53,7 @@
<%= yield %>
<% unless @content_for_sidebar.blank? %>
<% if content_for?(:sidebar) %>
<br class='clear' />
<div id="sidebar">
<%= yield :sidebar %>
Expand Down

0 comments on commit 5cb1118

Please sign in to comment.