clean up _list_subf_cat.html.ep

This commit is contained in:
ngoomie 2024-08-24 01:25:20 -06:00
parent e31aa8148f
commit 86a3551bc1
1 changed files with 4 additions and 5 deletions

View File

@ -16,17 +16,16 @@
"><a href="/board/<%= $_subf_id %>"><%= $_name %></a></div>
<% end %>
<%
foreach my $category ($category_tree->getAllChildren) { %>
% foreach my $category ($category_tree->getAllChildren) {
<%= $cat_header->(
$category->getNodeValue,
$c->schema->resultset('Categories')->
title_from_id($category->getNodeValue)) %>
<%
foreach my $subforum ($category->getAllChildren) { %>
% foreach my $subforum ($category->getAllChildren) {
<%= $subf_item->(
$subforum->getNodeValue,
$category->getNodeValue,
$c->schema->resultset('Subforums')->
title_from_id($subforum->getNodeValue)) %>
<% }} %>
% }}