<ul data-cid="{cid}">
<!-- BEGIN categories -->
    <li data-cid="{categories.cid}" <!-- IF categories.disabled -->class="disabled"<!-- ENDIF categories.disabled -->>
        <div class="row category-row">
            <div class="col-md-9">
                <div class="clearfix">
                    <div class="toggle">
                        <i class="fa fa-minus"></i>
                    </div>
                    <div class="icon" style="
                        color: {categories.color};
                        background-color: {categories.bgColor};
                        <!-- IF categories.backgroundImage -->
                        background-image: url('{categories.backgroundImage}');
                        <!-- ENDIF categories.backgroundImage -->
                    ">
                        <i data-name="icon" value="{categories.icon}" class="fa {categories.icon}"></i>
                    </div>
                    <div class="information">
                        <h5 class="category-header">{categories.name}</h5>
                    </div>
                </div>
            </div>
            <div class="col-md-3">
                <div class="clearfix pull-right text-right">
                    <div class="btn-group">
                        <button data-cid="{categories.cid}" data-action="toggle" data-disabled="{categories.disabled}" class="btn btn-sm <!-- IF categories.disabled -->btn-primary<!-- ELSE -->btn-danger<!-- ENDIF categories.disabled -->">
                            <!-- IF categories.disabled -->
                            [[admin/manage/categories:enable]]
                            <!-- ELSE -->
                            [[admin/manage/categories:disable]]
                            <!-- ENDIF categories.disabled -->
                        </button>
                        <a href="./categories/{categories.cid}/analytics" class="btn btn-default btn-sm">
                            <i class="fa fa-line-chart"></i>
                        </a>
                        <a href="./categories/{categories.cid}" class="btn btn-default btn-sm">
                            [[admin/manage/categories:edit]]
                        </a>
                    </div>
                </div>
            </div>
        </div>
    </li>
<!-- END categories -->
<li class="children-placeholder"></li>
</ul>
