wrap recipient form categories in wrapper and only show when necessary

This commit is contained in:
Felix Hamann 2019-04-23 13:38:08 +02:00 committed by Gregor Kleen
parent 484b5916c0
commit c01bfd4fb3

View File

@ -1,4 +1,6 @@
$newline never $newline never
$if not (null activeCategories)
<div .recipient-categories>
$forall category <- activeCategories $forall category <- activeCategories
<div .recipient-category> <div .recipient-category>
<input type=checkbox id=#{checkedIdent category} :elem category checkedCategories:checked> <input type=checkbox id=#{checkedIdent category} :elem category checkedCategories:checked>