From d23300645fb02b85aea4bdc2a9a2e0949d66fa55 Mon Sep 17 00:00:00 2001 From: rr- Date: Fri, 5 Aug 2016 23:12:42 +0200 Subject: [PATCH] client/tags: fix tag category template --- client/html/tag_category_row.tpl | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/client/html/tag_category_row.tpl b/client/html/tag_category_row.tpl index daa3c44..4d459a4 100644 --- a/client/html/tag_category_row.tpl +++ b/client/html/tag_category_row.tpl @@ -1,6 +1,8 @@ - class='default' <% } %> -> +<% if (ctx.tagCategory.isDefault) { %><% + %><% +%><% } else { %><% + %><% +%><% } %> <% if (ctx.canEditName) { %> <%= ctx.makeTextInput({value: ctx.tagCategory.name, required: true}) %>