<%= _('CSS files') %>
<% for css in @css_files %>
- <%= link_to_remote(css, :url => { :action => 'css_editor', :id => @theme.id, :css => css }, :update => { :success => 'css-code' }) %>
<% end %>
<%= button_bar do %>
<%= modal_button :add, _('New CSS'), :action => 'add_css', :id => @theme.id %>
<% end %>
<%= _('Images') %>
<% for image in @image_files %>
- <%= image_tag("/user_themes/#{@theme.id}/images/#{image}") %>
<% end %>
<%= button_bar do %>
<%= modal_button :add, _('Add image'), :action => 'add_image', :id => @theme.id %>
<% end %>
<%= _('Select a CSS file to edit') %>
<%# javascript_include_tag 'codepress/codepress' %>