Sha256: 94604acf915c1d2611b269d72a73c2f79bb2e7a41192a81582b27ed4d09cf64f

Contents?: true

Size: 448 Bytes

Versions: 3

Compression:

Stored size: 448 Bytes

Contents

<%= cache page do %>
  <%= content_tag :section, :id => page.perma_id, :class => page_css_class(page), :data => {:template => page.template, :id => page.id, :chapter_id => page.chapter_id} do %>
    <%= render :template => Pageflow.config.page_types.find_by_name!(page.template).template_path, :locals => {:page => page, :configuration => page.configuration} %>
    <a class="to_top" href="#content"><%= t('.goto_top') %></a>
  <% end %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pageflow-0.9.2 app/views/pageflow/pages/_page.html.erb
pageflow-0.9.1 app/views/pageflow/pages/_page.html.erb
pageflow-0.9.0 app/views/pageflow/pages/_page.html.erb