Form

legalCheck

Parametros

Variable Tipo Por defecto Requerido
chekboxPosition string FWK/ViewHelpers/Form/Macro/LegalCheck::CHECKBOX_POSITION_BEFORE false
Valores disponibles

FWK/ViewHelpers/Form/Macro/LegalCheck::CHECKBOX_POSITION_BEFORE



FWK/ViewHelpers/Form/Macro/LegalCheck::CHECKBOX_POSITION_AFTER



showCheck bool true false

Ejemplo


{% import macrosCore.form as formMacros%}
{{ formMacros.legalCheck({
checkboxPosition: 'before',
showCheck: true
}) }}

Relacionados

macros/modes/{{coreMode}}/form/legalCheck.html.twig

View Helper

FWK/ViewHelpers/Form/Macro/LegalCheck.php