Sha256: 556d669bb7cb1d6ff108bf0d71aa46854a3100a24a3b07ba6a32fbf1b935bb74
Contents?: true
Size: 714 Bytes
Versions: 11
Compression:
Stored size: 714 Bytes
Contents
- if @page - @page_title = @page.breadcrumb.reverse.map(&:title).join(" - ") = documentation_breadcrumb_for @page - else - @page_title = t('.reorder_root_pages_title') = documentation_breadcrumb_for nil %section.page %h1= @page ? @page.title : t('.reorder_root_pages_title') = form_tag page_positioning_path(@page.try(:full_permalink)), :class => 'reordering' do %ul - for child in @pages %li = child.title = hidden_field_tag 'order[]', child.id %p.adminButtons - if @page = link_to t('.back_to_page'), page_path(@page.full_permalink), :class => 'button edit' - else = link_to t('.back_to_homepage'), root_path, :class => 'button edit'
Version data entries
11 entries across 11 versions & 2 rubygems