aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/layouts/no_chrome.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/no_chrome.rhtml')
-rw-r--r--app/views/layouts/no_chrome.rhtml14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/views/layouts/no_chrome.rhtml b/app/views/layouts/no_chrome.rhtml
new file mode 100644
index 000000000..8225aec75
--- /dev/null
+++ b/app/views/layouts/no_chrome.rhtml
@@ -0,0 +1,14 @@
+<div class="entirebody">
+ <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 %>" class="controller_<%= controller.controller_name %>">
+ <%= yield :layout %>
+ </div>
+ </div>
+</div>