% while (my $category = $categories->next) { % }

Browse by Category

% if (my $count = $category->project_count) { <% $category->name | h %> (<% $count %> project<% $count > 1 ? 's' : '' %>) % } else { <% $category->name | h %> (No projects) % }
<%init> my $categories = $Schema->Category_t->all_rows( order_by => $Schema->Category_t->name_c ); <%method title> <& PARENT:title &> - Browse by category