Sha256: cedd5a87b1bdf9c0b84f9b74b72cf8799b9f6da3a8c21ee66005ee214163b02f

Contents?: true

Size: 853 Bytes

Versions: 4

Compression:

Stored size: 853 Bytes

Contents

<% content_for :header do %>
  <% if @stack.size > 1 %>
    <%= @title = t(:title_sublisting, :scope => [:content, :list], :group => @stack.klass.plural_name, :title => @stack[-2].class.singular_name + " " + @stack[-2].human_id.to_s) %>
  <% else %>
    <%= @title = t(:title, :scope => [:content, :list], :class => @stack.klass.plural_name) %> 
  <% end %>
<% end %>

<div class="content">
  <%= presenter_for(@elements,stack.klass) %>
</div>

<% content_for :meta do %>
  <%= render :partial => "add", :locals => {:klass => stack.klass, :record => stack.current, :return_to => url_for({})} %>	
  <%= render :partial => "filter" if stack.klass.filterable? %>
<% end %>

<% if @elements.respond_to?(:total_entries) && @elements.total_entries > @elements.per_page %>
  <% content_for :footer do %>
    <%= will_paginate @elements %>
  <% end %>
<% end %>

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
westarete-skylinecms-3.0.8.20100329 app/views/skyline/content/list.rhtml
westarete-skylinecms-3.0.8.20100330 app/views/skyline/content/list.rhtml
skylinecms-3.0.8 app/views/skyline/content/list.rhtml
skylinecms-3.0.7 app/views/skyline/content/list.rhtml