Sha256: 812e9003c3e39c850f315434503520efaa5ab6668e9f9b1060c3d31a1feaefb1

Contents?: true

Size: 598 Bytes

Versions: 1

Compression:

Stored size: 598 Bytes

Contents

<%
  self.page_title = "Pages"
  self.page_description = "Viewing pages"

  if PagesCore.config.localizations?
    self.page_description_links = 'In ' + PagesCore.config.locales.map{ |l, n| link_to_unless_current n, admin_pages_path(l) }.join(link_separator)
  end
%>

<% content_for :sidebar do %>
<% end %>

<div class="content">
  <%= react_component(
    "PageTree", {
      tree: {
        name: "All Pages",
        locale: @locale,
        children: ActiveModel::ArraySerializer.new(
          @root_pages,
          each_serializer: PageTreeSerializer
        )
      }
    }
  ) %>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pages_core-3.5.1 app/views/admin/pages/index.html.erb