%inherit file="/base/index.html" />
<%def name="heading()">
Tag List
%def>
<%def name="buildrow(tag, odd=True)">
${h.link_to(
tag.id,
h.url_for(
controller=u'tag',
action='view',
id=unicode(tag.id)
)
)}
|
${tag.name}
|
%def>
% if len(c.paginator):
${ c.paginator.pager('$link_first $link_previous $first_item to $last_item of $item_count $link_next $link_last') }
Tag ID | Tag Name |
<% counter=0 %>
% for item in c.paginator:
${buildrow(item, counter%2)}
<% counter += 1 %>
% endfor
${ c.paginator.pager('~2~') }
% else:
No tags have yet been created.
Add one.
% endif