Sha256: a6831752b12ab83f822c489c742a7836ae1ac52b7119198411b806b351854386
Contents?: true
Size: 958 Bytes
Versions: 13
Compression:
Stored size: 958 Bytes
Contents
- content_for :page_title do =t :structure - content_for :actions do - if @template_exists .span4.clearfix.text-right = link_to pages.new_page_path, class: 'btn btn-large btn-link' do %i.icon-plus =t :new_page %section.b-tree.span12 %ul - cache @pages_cache do - @pages.each do |page| %li{class: "level#{page.level}"} - if page.published? = link_to page.name, page.full_url, class: 'btn btn-link' - else %button.btn.disabled= page.name .b-tree__buttons = arrow_buttons_for(page) = link_to edit_page_path(page), class: 'btn btn-primary btn-mini' do %i.icon-pencil =t :edit = page.template.to_accusative = link_to page, method: :delete, class: 'btn btn-danger btn-mini pull-right', data: {confirm: t(:are_you_sure?)} do %i.icon-remove =t :delete
Version data entries
13 entries across 13 versions & 1 rubygems