app/views/admin/themes/edit.html.erb in disguise-0.2.0 vs app/views/admin/themes/edit.html.erb in disguise-0.3.0

- old
+ new

@@ -1,9 +1,9 @@ <h1><%= t('disguise.set_theme') %></h1> <div id="current-theme"> <% if DomainTheme.use_domain_themes? -%> - <%= t('disguise.use_domain_themes') %> + <h2><%= t('disguise.use_domain_themes') %></h2> <% else -%> <h2><%= t('disguise.name_theme') %></h2> <% if @current_theme -%> <%= render :partial => 'admin/themes/theme', :object => @current_theme %> <% form_for @theme, :url => admin_theme_path, :html => { :method => :put } do |f| -%> @@ -11,10 +11,10 @@ <%= submit_tag t('disguise.remove_all_themes') %> <% end -%> <% else -%> <%= t('disguise.no_current_theme') %> <% end -%> + <h2><%= t('disguise.activate_theme_message') %></h2> <% end -%> </div> -<h2><%= t('disguise.activate_theme_message') %></h2> <%= error_messages_for :theme %> -<%= render :partial => 'admin/themes/theme', :collection => @themes %> +<%= render :partial => 'admin/themes/theme', :collection => @themes %> \ No newline at end of file