Sha256: a75a09b3b12e7cfc0bc0ea46957b3baecbe8830518679af07543875e383d4e0d

Contents?: true

Size: 806 Bytes

Versions: 4

Compression:

Stored size: 806 Bytes

Contents

<h1><%= t('disguise.set_theme') %></h1>
<div id="current-theme">
  <% if DomainTheme.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| -%>
        <%= f.hidden_field :name, :value => '' %>
        <%= submit_tag t('disguise.remove_all_themes') %>
      <% end -%>
    <% else -%>
      <%= t('disguise.no_current_theme') %>
    <% end -%>
    <h2><%= t('disguise.activate_theme_message') %></h2>
  <% end -%>
</div>
<%= error_messages_for :theme %>
<%= render :partial => 'admin/themes/theme', :collection => @themes %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
disguise-0.3.1 app/views/admin/themes/edit.html.erb
disguise-0.3.2 app/views/admin/themes/edit.html.erb
disguise-0.3.3 app/views/admin/themes/edit.html.erb
disguise-0.3.0 app/views/admin/themes/edit.html.erb