#macro kw invalid name autofocus=false disabled=false message=true required=true rest...> autofocus#if> <#if disabled>disabled#if> <#if required>required#if> aria-invalid="${messagesPerField.existsError(invalid)?c}" class="block border-gray-300 mt-1 rounded-md w-full focus:border-primary-300 focus:ring focus:ring-primary-200 focus:ring-opacity-50 sm:text-sm" id="${name}" name="${name}" placeholder="<#compress><#nested>#compress>" <#list rest as attrName, attrValue> ${attrName}="${attrValue}" #list> > <#if message && messagesPerField.existsError(invalid)>