listGroup.ftl
1 <#-- Macro: listGroup
2
3 Description: Generates an HTML unordered list (<ul>) with the Bootstrap "list-group" class and optional attributes.
4
5 Parameters:
6 - id (string, optional): the ID attribute of the unordered list.
7 - class (string, optional): the class attribute of the unordered list.
8 - params (string, optional): additional attributes to add to the unordered list, in the form of a string of HTML attributes.
9 -->
10 <#macro listGroup id='' class='' params=''>
11 <ul class="list-group<#if class!=''> ${class}</#if>"<#if id!=''> id="${id}"</#if><#if params!=''> ${params}</#if>>
12 <#nested>
13 </ul>
14 </#macro>