<#macro optAttribute attribute value="">
<#if value?has_content>${attribute}="${value}"</#if>
</#macro>
<#macro svgUse cssClass spriteUrl symbolId>
<svg <@optAttribute "class" cssClass/>>
<use xlink:href="${spriteUrl}#${symbolId}"></use>
</svg>
</#macro>
<#macro svgUseObject svgIcon>
<@svgUse svgIcon.cssClass!"" svgIcon.spriteUrl svgIcon.symbolId />
</#macro>
<#macro flexOrder xs="" sm="" md="" lg="" xl="">
<#if xs?has_content>order-${xs}</#if> <#if sm?has_content>order-sm-${sm}</#if> <#if md?has_content>order-md-${md}</#if> <#if lg?has_content>order-lg-${lg}</#if> <#if xl?has_content>order-xl-${xl}</#if>
</#macro>
<#macro a href="javascript:void(0);" id="" class="" target="" title="">
<a href="${href}" <@optAttribute "id" id/> <@optAttribute "class" class/> <@optAttribute "target" target/> <@optAttribute "title" title/> >
<#nested>
</a>
</#macro>
<#macro csrfInput>
<#if _csrf??>
<input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}" />
</#if>
</#macro>
Comments
0 B
|👍
/👎