add mustache helper tp support layout elements
[shapado:shapado.git] / app / views / shared / layout / _css.html.haml
1 = include_stylesheets(:base)
2
3 - if Rails.env == 'development'
4   = include_stylesheets(:jqueryui)
5   = include_stylesheets(:jpicker)
6
7 = yield :css
8 -current_theme = current_group.current_theme || Theme.where(:is_default => true).first
9 %link{:href => css_group_path(current_group, params[:test_theme] || current_theme.id, current_theme.version),  :rel => "stylesheet", :media => "screen", :type => "text/css"}
10
11 <!--[if lt IE 8]><link type="text/css" rel="stylesheet" media="screen" href="/stylesheets/ie7.css"><![endif]-->