<%= t('disguise.set_theme') %>
<% if DomainTheme.use_domain_themes? -%>
<%= t('disguise.use_domain_themes') %>
<% else -%>
<%= t('disguise.name_theme') %>
<% if @current_theme -%>
<%= render :partial => 'admin/themes/theme', :object => @current_theme %>
<%= form_for @theme, :url => admin_theme_path, :html => { :method => :put } do |f| -%>
<%= f.hidden_field :name, :value => '' %>
<%= submit_tag t('disguise.remove_all_themes'), :id => 'remove_all_themes', :name => 'remove_all_themes' %>
<% end -%>
<% else -%>
<%= t('disguise.no_current_theme') %>
<% end -%>
<%= t('disguise.activate_theme_message') %>
<% end -%>
<% if !@theme.blank? && @theme.errors.any? -%>
<% @theme.errors.full_messages.each do |msg| -%>
- <%= msg %>
<% end -%>
<% end -%>
<%= render :partial => 'admin/themes/theme', :collection => @themes %>