Sha256: 927ed36702e1f03a80657df73313aa3c102e539491d24b8c46f0e872547566ce

Contents?: true

Size: 494 Bytes

Versions: 83

Compression:

Stored size: 494 Bytes

Contents

<div>
  <p><%= link_to 'Home', scrivito_path(Obj.root) %></p>

  <%= scrivito_tag_list :ul, Obj.root, :toclist do |list, page| %>
    <%= list.tag :li do %>
      <%= link_to page.display_title, scrivito_path(page) %>
    <% end %>
  <% end %>

  <% if Obj.root.toclist.empty? && scrivito_in_editable_view? %>
    <p>(Hint: Click on the Scrivito icon to the right to create the first subpage.)</p>
  <% end %>
</div>

<%= scrivito_tag :h1, @obj, :title %>
<%= scrivito_tag :div, @obj, :body %>

Version data entries

83 entries across 83 versions & 1 rubygems

Version Path
scrivito_sdk-1.1.0.rc3 lib/generators/scrivito/install/templates/app/views/page/index.html.erb
scrivito_sdk-1.1.0.rc2 lib/generators/scrivito/install/templates/app/views/page/index.html.erb
scrivito_sdk-1.1.0.rc1 lib/generators/scrivito/install/templates/app/views/page/index.html.erb
scrivito_sdk-1.0.0 lib/generators/scrivito/install/templates/app/views/page/index.html.erb
scrivito_sdk-1.0.0.rc4 lib/generators/scrivito/install/templates/app/views/page/index.html.erb
scrivito_sdk-1.0.0.rc3 lib/generators/scrivito/install/templates/app/views/page/index.html.erb
scrivito_sdk-1.0.0.rc2 lib/generators/scrivito/install/templates/app/views/page/index.html.erb
scrivito_sdk-1.0.0.rc1 lib/generators/scrivito/install/templates/app/views/page/index.html.erb
scrivito_sdk-0.90.0 lib/generators/scrivito/install/templates/app/views/page/index.html.erb
scrivito_sdk-0.90.0.rc3 lib/generators/scrivito/install/templates/app/views/page/index.html.erb
scrivito_sdk-0.90.0.rc2 lib/generators/scrivito/install/templates/app/views/page/index.html.erb
scrivito_sdk-0.90.0.rc1 lib/generators/scrivito/install/templates/app/views/page/index.html.erb
scrivito_sdk-0.70.2 lib/generators/scrivito/install/templates/app/views/page/index.html.erb
scrivito_sdk-0.71.2 lib/generators/scrivito/install/templates/app/views/page/index.html.erb
scrivito_sdk-0.71.1 lib/generators/scrivito/install/templates/app/views/page/index.html.erb
scrivito_sdk-0.70.1 lib/generators/scrivito/install/templates/app/views/page/index.html.erb
scrivito_sdk-0.71.0 lib/generators/scrivito/install/templates/app/views/page/index.html.erb
scrivito_sdk-0.71.0.rc2 lib/generators/scrivito/install/templates/app/views/page/index.html.erb
scrivito_sdk-0.71.0.rc1 lib/generators/scrivito/install/templates/app/views/page/index.html.erb
scrivito_sdk-0.70.0 lib/generators/scrivito/install/templates/app/views/page/index.html.erb