Sha256: a0b118708dac707c5cee1c231360e46da633aa795e0a6348966b6a5b9c0eff9b

Contents?: true

Size: 794 Bytes

Versions: 1

Compression:

Stored size: 794 Bytes

Contents

<h1><%= t('disguise.set_theme') %></h1>
<div id="current-theme">
  <% if DomainTheme.use_domain_themes? -%>
    <%= t('disguise.use_domain_themes') %>
  <% 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 -%>
  <% end -%>
</div>
<h2><%= t('disguise.activate_theme_message') %></h2>
<%= error_messages_for :theme %>
<%= render :partial => 'admin/themes/theme', :collection => @themes %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
disguise-0.2.0 app/views/admin/themes/edit.html.erb