Sha256: c01d660d905e0b868d6eb1c46f562113c568c972f2f38045a1da4c44d0d93863
Contents?: true
Size: 580 Bytes
Versions: 1
Compression:
Stored size: 580 Bytes
Contents
<%= tabs do |t| %> <% I18n.available_locales.each do |locale| %> <%= t.pane t("locale_names.#{locale}", :default => "#{locale}".humanize) do %> <ul class="nav"> <% Page.where(:locale => "#{locale}").roots.each do |root| %> <% Page.each_with_level(root.self_and_descendants) do |page, level| %> <%= nav_item page.name, edit_admin_page_path(page), :icon => (page.root? ? "home" : "file"), :style => "line-height: 36px; padding-left:#{20 * level}px" %> <% end %> <% end %> </ul> <% end %> <% end %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fullstack-cms-0.2.5 | app/views/admin/pages/_collection.html.erb |