<% content_for :side_bar do %> <%= render :partial => 'layouts/side_bar', :locals => {:link_name => t('site.settings'), :link_url => admin_site_site_info_path(@site), :side_bar_content => 'admin/sites/side_bar'} %> <% end %> <%= stylesheet_link_tag "lib/wrap-nav"%> <%= stylesheet_link_tag "lib/filter"%> <%= stylesheet_link_tag "lib/code_editor"%> <%= stylesheet_link_tag "lib/codemirror/codemirror"%> <%= stylesheet_link_tag "lib/codemirror/theme/theme"%> <%= javascript_include_tag "codemirror/codemirror" %> <%= javascript_include_tag "codemirror/jquery.codemirror" %> <%= javascript_include_tag "codemirror/mode/css" %> <%= javascript_include_tag "codemirror/mode/xml" %> <%= javascript_include_tag "codemirror/mode/vbscript" %> <%= javascript_include_tag "codemirror/mode/javascript" %> <%= javascript_include_tag "codemirror/mode/htmlmixed" %> <%= javascript_include_tag "codemirror/addon/edit/closetag" %> <%= javascript_include_tag "codemirror/addon/edit/closebrackets" %> <%= javascript_include_tag "codemirror/util/formatting" %> <%= javascript_include_tag "lib/templates_code" %>

<%= @design.title %>

Theme
<%= render :partial => 'tab_form', :locals => {:type => :layout, :object => @design.layout} %>
<% @design.themes.each do |theme| %>
<%= render :partial => 'tab_form', :locals => {:type => :themes, :object => theme} %>
<% end %>
<%= render :partial => 'tab_form', :locals => {:type => :css_default, :object => @design.css_default} %>
<%= render :partial => 'tab_form', :locals => {:type => :css_reset, :object => @design.css_reset} %>
<%= render :partial => 'images' %>
<%= render :partial => 'form' %>
<% @design.javascripts.each do |js| %>
<%= render :partial => 'tab_form', :locals => {:type => :javascripts, :object => js} %>
<% end %>