aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/layouts/no_chrome.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/no_chrome.html.erb')
-rw-r--r--app/views/layouts/no_chrome.html.erb16
1 files changed, 11 insertions, 5 deletions
diff --git a/app/views/layouts/no_chrome.html.erb b/app/views/layouts/no_chrome.html.erb
index e613b8ca2..f3ca9ef9e 100644
--- a/app/views/layouts/no_chrome.html.erb
+++ b/app/views/layouts/no_chrome.html.erb
@@ -2,6 +2,8 @@
<html lang="<%= I18n.locale %>">
<head>
<meta charset="utf-8">
+ <%= csrf_meta_tags %>
+
<title>
<% if @title %>
<%=@title%> - <%= site_name %>
@@ -12,11 +14,15 @@
<%= javascript_include_tag "application" %>
- <%= stylesheet_link_tag 'application', :title => "Main", :rel => "stylesheet" %>
- <%= stylesheet_link_tag 'fonts', :rel => "stylesheet" %>
- <!--[if LT IE 7]>
- <%= stylesheet_link_tag 'ie6', :rel => "stylesheet" %>
- <![endif]-->
+ <% if AlaveteliConfiguration::responsive_styling || params[:responsive] %>
+ <%= render :partial => 'general/responsive_stylesheets' %>
+ <% else %>
+ <%= stylesheet_link_tag 'application', :title => "Main", :rel => "stylesheet" %>
+ <%= stylesheet_link_tag 'fonts', :rel => "stylesheet" %>
+ <!--[if LT IE 7]>
+ <%= stylesheet_link_tag 'ie6', :rel => "stylesheet" %>
+ <![endif]-->
+ <% end %>
</head>
<body>
<div class="entirebody">