client/tags: fix tag category template
This commit is contained in:
parent
70a65cc0a3
commit
d23300645f
1 changed files with 5 additions and 3 deletions
|
@ -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}) %>
|
||||
|
|
Loading…
Reference in a new issue