You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
406 B
19 lines
406 B
<#macro kw checked=false id="" label="" rest...>
|
|
<div>
|
|
<input
|
|
<#if checked>checked</#if>
|
|
|
|
class="border-secondary-200 focus:ring-primary-600"
|
|
id="${id}"
|
|
type="radio"
|
|
|
|
<#list rest as attrName, attrValue>
|
|
${attrName}="${attrValue}"
|
|
</#list>
|
|
>
|
|
<label class="ml-2 text-secondary-600 text-sm" for="${id}">
|
|
${label}
|
|
</label>
|
|
</div>
|
|
</#macro>
|