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) { %><%
|
||||||
<% if (ctx.tagCategory.isDefault) { %> class='default' <% } %>
|
%><tr data-category='<%- ctx.tagCategory.name %>' class='default'><%
|
||||||
>
|
%><% } else { %><%
|
||||||
|
%><tr data-category='<%- ctx.tagCategory.name %>'><%
|
||||||
|
%><% } %>
|
||||||
<td class='name'>
|
<td class='name'>
|
||||||
<% if (ctx.canEditName) { %>
|
<% if (ctx.canEditName) { %>
|
||||||
<%= ctx.makeTextInput({value: ctx.tagCategory.name, required: true}) %>
|
<%= ctx.makeTextInput({value: ctx.tagCategory.name, required: true}) %>
|
||||||
|
|
Loading…
Reference in a new issue