client/tags: fix tag category template

This commit is contained in:
rr- 2016-08-05 23:12:42 +02:00
parent 70a65cc0a3
commit d23300645f
1 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,8 @@
<tr data-category='<%- ctx.tagCategory.name %>'
<% if (ctx.tagCategory.isDefault) { %> class='default' <% } %>
>
<% if (ctx.tagCategory.isDefault) { %><%
%><tr data-category='<%- ctx.tagCategory.name %>' class='default'><%
%><% } else { %><%
%><tr data-category='<%- ctx.tagCategory.name %>'><%
%><% } %>
<td class='name'>
<% if (ctx.canEditName) { %>
<%= ctx.makeTextInput({value: ctx.tagCategory.name, required: true}) %>