Sha256: c6b4e2f082975221d7db9eea3c44bb2bf9a2b4222846817c3c3907fdf3c4a1fb
Contents?: true
Size: 803 Bytes
Versions: 1
Compression:
Stored size: 803 Bytes
Contents
<div class="theme-block box"> <h3><%= theme[:name] %></h3> <% form_for @theme, :url => admin_theme_path, :html => { :method => :put } do |f| -%> <%= f.hidden_field :name, :value => theme[:name] %> <%= image_submit_tag theme[:preview_image] %> <%= theme[:description] %> <% end -%> <% if DomainTheme.use_domain_themes? -%> <% domain_theme = @domain_themes[theme[:name]] || DomainTheme.new(:name => theme[:name]) %> <% form_for [:admin, domain_theme] do |f| -%> <%= f.hidden_field :name %> <%= f.label t('disguise.theme_uri_label') %> <%= f.text_field :uri %> <% if domain_theme.new_record? -%> <%= submit_tag t('disguise.add_uri') %> <% else -%> <%= submit_tag t('disguise.update_uri') %> <% end -%> <% end -%> <% end -%> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
disguise-0.2.0 | app/views/admin/themes/_theme.html.erb |