add custom js to themes
[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 -#%link#current-theme{ :href => "/stylesheets/compiled/themes/#{current_group.theme}/style.css", :rel => "stylesheet", :media => "screen", :type => "text/css" }
8 -#%link#current-nav{ :href => "/stylesheets/compiled/navigation/#{current_group.theme}.css", :rel => "stylesheet", :media => "screen", :type => "text/css" }
9
10 = yield :css
11
12 %link{:href => css_group_path(current_group, params[:theme] || current_group.current_theme_id),  :rel => "stylesheet", :media => "screen", :type => "text/css"}
13