diff options
Diffstat (limited to 'app/views/layouts/default.rhtml')
-rw-r--r-- | app/views/layouts/default.rhtml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app/views/layouts/default.rhtml b/app/views/layouts/default.rhtml index d9b62cdaa..02398dc01 100644 --- a/app/views/layouts/default.rhtml +++ b/app/views/layouts/default.rhtml @@ -41,15 +41,15 @@ </div> <% end %> - <% if flash[:notice] %> - <div id="notice"><%= flash[:notice] %></div> - <% end %> - <% if flash[:error] %> - <div id="error"><%= flash[:error] %></div> - <% end %> - <div id="wrapper"> <div id="content"> + <% if flash[:notice] %> + <div id="notice"><%= flash[:notice] %></div> + <% end %> + <% if flash[:error] %> + <div id="error"><%= flash[:error] %></div> + <% end %> + <div id="<%= controller.controller_name + "_" + controller.action_name %>"> <%= yield :layout %> </div> |