From 86a3551bc1a871e6abb57217bcc921d684e4a0fc Mon Sep 17 00:00:00 2001 From: ngoomie Date: Sat, 24 Aug 2024 01:25:20 -0600 Subject: [PATCH] clean up _list_subf_cat.html.ep --- templates/items/_list_subf_cat.html.ep | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/templates/items/_list_subf_cat.html.ep b/templates/items/_list_subf_cat.html.ep index a4d9e30..ef79efa 100644 --- a/templates/items/_list_subf_cat.html.ep +++ b/templates/items/_list_subf_cat.html.ep @@ -16,17 +16,16 @@ "><%= $_name %> <% 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)) %> -<% }} %> \ No newline at end of file +% }} \ No newline at end of file