Sha256: e64c9a45dcc6d0891dccdbddf7709b27ba71382a91fb4fd681a594149289047d
Contents?: true
Size: 992 Bytes
Versions: 2
Compression:
Stored size: 992 Bytes
Contents
<%= content_for :sidebar do %> <p class="hint text_only large padded"> <%= t(:'adva.sections.hints.sections') %> </p> <p class="hint text_only large padded"> <%= t(:'adva.sections.hints.reorder') %> </p> <% end %> <%= table_for @sections, :collection_name => :sections, :class => 'sections list tree' do |t| t.column :section t.column :actions, :class => :actions t.row(:class => 'section') do |r, section| r.add_class "level_#{section.level}" r.cell content_status(section) + link_to(section.title, [:admin, @site, section, :contents], :class => section.state) r.cell link_to("Edit", [:edit, :admin, @site, section], :class => "edit section") + link_to("Delete", [:admin, @site, section], :method => :delete, :class => "delete section") end t.empty :p, :class => 'empty' do t(:'adva.sections.no_sections_in_site', :section => @section.title) + "\n" + link_to(:'adva.sections.links.create_now', [:new, :admin, @site, :section]) end end %>
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
adva_cms-0.0.1 | app/views/admin/sections/index.html.erb |
adva-0.0.1 | adva_cms/app/views/admin/sections/index.html.erb |