+=extends collection/grid
+
=for layout widget
-[% pager %]
+[% pager_fragment %]
-<table>
- [% header %]
- [% body %]
- [% footer %]
-</table>
+[% call_next %]
-[% pager %]
+[% pager_fragment %]
[% actions %]
-=for layout header
-
-<thead>
- [% content %]
-</thead>
+=for layout sortable_header_cell
-=for layout header_row
-
-<tr>
- [% content %]
- [% IF object_action_count %]
- <th colspan="[% object_action_count %]"> Actions </th>
- [% END %]
-</tr>
+<a href="[% order_uri %]">[% header_cell_contents %]</a>
=for layout header_cell
-<th> <a href="[% uri %]"> [% content | html %] </a> </th>
-
-=for layout footer
-
-<tfoot>
- [% content %]
-</tfoot>
-
-=for layout footer_row
-
-<tr>
- [% content %]
- [% IF object_action_count %]
- <th colspan="[% object_action_count %]"> Actions </th>
- [% END %]
-</tr>
+<th> [% maybe_sortable_header_cell %] </th>
-=for layout footer_cell
+=for layout actions
-<th> <a href="[% uri %]"> [% content | html %] </a> </th>
+<ul class="collection_actions">
+ [% call_next %]
+</ul>
-=for layout body
+=for layout action
-<tbody>
- [% content %]
-</tbody>
+<li>[% call_next %]</li>
=for layout pager
<ul class="pager">
- <li>[% first_page %]</li>
- <li>[% previous_page %]</li>
- <li>[% page_list %]</li>
- <li>[% next_page %]</li>
- <li>[% last_page %]</li>
+ [% first_page %]
+ [% previous_page %]
+ [% page_list %]
+ [% next_page %]
+ [% last_page %]
</ul>
-=for layout page_list
-[% content %]
+=for layout numbered_page_this_page
-=for layout page
-<li> <a href="[% uri | html %]">[% content | html %]</a> </li>
+<li> [% page_number %] </li>
-=for layout first_page
-<a href="[% uri | html %]">[% content | html %]</a>
+=for layout numbered_page
-=for layout previous_page
-<a href="[% uri | html %]">[% content | html %]</a>
+<li> <a href="[% page_uri %]">[% page_number %]</a> </li>
-=for layout current_page
-<a href="[% uri | html %]">[% content | html %]</a>
+=for layout named_page
-=for layout next_page
-<a href="[% uri | html %]">[% content | html %]</a>
+<li> <a href="[% page_uri %]">[% page_name %]</a> </li>
-=for layout last_page
-<a href="[% uri | html %]">[% content | html %]</a>
+=for layout named_page_no_page
-=for layout actions
-<div class="collection_actions">
-<ul>
- [% content %]
-</ul>
-</div>
-
-=for layout action
-<li>[% content %]</li>
+<li> [% page_name %] </li>
=cut