$context["prepend"]=!(is_string($__internal_compile_0=(isset($context["money_pattern"])||array_key_exists("money_pattern",$context)?$context["money_pattern"]:(function(){thrownewRuntimeError('Variable "money_pattern" does not exist.',6,$this->source);})()))&&is_string($__internal_compile_1="{{")&&(''===$__internal_compile_1||0===strpos($__internal_compile_0,$__internal_compile_1)));
// line 7
$context["append"]=!(is_string($__internal_compile_2=(isset($context["money_pattern"])||array_key_exists("money_pattern",$context)?$context["money_pattern"]:(function(){thrownewRuntimeError('Variable "money_pattern" does not exist.',7,$this->source);})()))&&is_string($__internal_compile_3="}}")&&(''===$__internal_compile_3||$__internal_compile_3===substr($__internal_compile_2,-strlen($__internal_compile_3))));
// line 8
if(((isset($context["prepend"])||array_key_exists("prepend",$context)?$context["prepend"]:(function(){thrownewRuntimeError('Variable "prepend" does not exist.',8,$this->source);})())||(isset($context["append"])||array_key_exists("append",$context)?$context["append"]:(function(){thrownewRuntimeError('Variable "append" does not exist.',8,$this->source);})()))){
// line 9
echo"<div class=\"input-group ";
echotwig_escape_filter($this->env,((array_key_exists("group_class",$context))?(_twig_default_filter((isset($context["group_class"])||array_key_exists("group_class",$context)?$context["group_class"]:(function(){thrownewRuntimeError('Variable "group_class" does not exist.',9,$this->source);})()),"")):("")),"html",null,true);
echo"\">";
// line 10
if((isset($context["prepend"])||array_key_exists("prepend",$context)?$context["prepend"]:(function(){thrownewRuntimeError('Variable "prepend" does not exist.',10,$this->source);})())){
// line 11
echo"<div class=\"input-group-prepend\">
<spanclass=\"input-group-text\">";
// line 12
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->encodeCurrency($this->env,(isset($context["money_pattern"])||array_key_exists("money_pattern",$context)?$context["money_pattern"]:(function(){thrownewRuntimeError('Variable "money_pattern" does not exist.',12,$this->source);})()));
if((isset($context["append"])||array_key_exists("append",$context)?$context["append"]:(function(){thrownewRuntimeError('Variable "append" does not exist.',16,$this->source);})())){
// line 17
echo"<div class=\"input-group-append\">
<spanclass=\"input-group-text\">";
// line 18
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->encodeCurrency($this->env,(isset($context["money_pattern"])||array_key_exists("money_pattern",$context)?$context["money_pattern"]:(function(){thrownewRuntimeError('Variable "money_pattern" does not exist.',18,$this->source);})()));
if((((isset($context["widget"])||array_key_exists("widget",$context)?$context["widget"]:(function(){thrownewRuntimeError('Variable "widget" does not exist.',28,$this->source);})())!="single_text")&&!(isset($context["valid"])||array_key_exists("valid",$context)?$context["valid"]:(function(){thrownewRuntimeError('Variable "valid" does not exist.',28,$this->source);})()))){
// line 29
$context["attr"]=twig_array_merge((isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',29,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",true,true,false,29))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",false,false,false,29),"")):(""))." form-control is-invalid"))]);
if((((isset($context["widget"])||array_key_exists("widget",$context)?$context["widget"]:(function(){thrownewRuntimeError('Variable "widget" does not exist.',36,$this->source);})())!="single_text")&&!(isset($context["valid"])||array_key_exists("valid",$context)?$context["valid"]:(function(){thrownewRuntimeError('Variable "valid" does not exist.',36,$this->source);})()))){
// line 37
$context["attr"]=twig_array_merge((isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',37,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",true,true,false,37))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",false,false,false,37),"")):(""))." form-control is-invalid"))]);
if((((isset($context["widget"])||array_key_exists("widget",$context)?$context["widget"]:(function(){thrownewRuntimeError('Variable "widget" does not exist.',44,$this->source);})())!="single_text")&&!(isset($context["valid"])||array_key_exists("valid",$context)?$context["valid"]:(function(){thrownewRuntimeError('Variable "valid" does not exist.',44,$this->source);})()))){
// line 45
$context["attr"]=twig_array_merge((isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',45,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",true,true,false,45))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",false,false,false,45),"")):(""))." form-control is-invalid"))]);
if((((isset($context["widget"])||array_key_exists("widget",$context)?$context["widget"]:(function(){thrownewRuntimeError('Variable "widget" does not exist.',52,$this->source);})())!="single_text")&&!(isset($context["valid"])||array_key_exists("valid",$context)?$context["valid"]:(function(){thrownewRuntimeError('Variable "valid" does not exist.',52,$this->source);})()))){
// line 53
$context["attr"]=twig_array_merge((isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',53,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",true,true,false,53))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",false,false,false,53),"")):(""))." form-control is-invalid"))]);
// line 54
$context["valid"]=true;
}
// line 56
if(((isset($context["widget"])||array_key_exists("widget",$context)?$context["widget"]:(function(){thrownewRuntimeError('Variable "widget" does not exist.',56,$this->source);})())=="single_text")){
$context["attr"]=twig_array_merge((isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',59,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",true,true,false,59))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",false,false,false,59),"")):(""))." form-inline"))]);
if((isset($context["with_years"])||array_key_exists("with_years",$context)?$context["with_years"]:(function(){thrownewRuntimeError('Variable "with_years" does not exist.',61,$this->source);})())){
// line 62
echo"<div class=\"col-auto\">
";
// line 63
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env,$this->source,(isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',63,$this->source);})()),"years",[],"any",false,false,false,63),'label');
echo"
";
// line 64
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env,$this->source,(isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',64,$this->source);})()),"years",[],"any",false,false,false,64),'widget');
echo"
</div>";
}
// line 67
if((isset($context["with_months"])||array_key_exists("with_months",$context)?$context["with_months"]:(function(){thrownewRuntimeError('Variable "with_months" does not exist.',67,$this->source);})())){
// line 68
echo"<div class=\"col-auto\">
";
// line 69
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env,$this->source,(isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',69,$this->source);})()),"months",[],"any",false,false,false,69),'label');
echo"
";
// line 70
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env,$this->source,(isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',70,$this->source);})()),"months",[],"any",false,false,false,70),'widget');
echo"
</div>";
}
// line 73
if((isset($context["with_weeks"])||array_key_exists("with_weeks",$context)?$context["with_weeks"]:(function(){thrownewRuntimeError('Variable "with_weeks" does not exist.',73,$this->source);})())){
// line 74
echo"<div class=\"col-auto\">
";
// line 75
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env,$this->source,(isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',75,$this->source);})()),"weeks",[],"any",false,false,false,75),'label');
echo"
";
// line 76
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env,$this->source,(isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',76,$this->source);})()),"weeks",[],"any",false,false,false,76),'widget');
echo"
</div>";
}
// line 79
if((isset($context["with_days"])||array_key_exists("with_days",$context)?$context["with_days"]:(function(){thrownewRuntimeError('Variable "with_days" does not exist.',79,$this->source);})())){
// line 80
echo"<div class=\"col-auto\">
";
// line 81
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env,$this->source,(isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',81,$this->source);})()),"days",[],"any",false,false,false,81),'label');
echo"
";
// line 82
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env,$this->source,(isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',82,$this->source);})()),"days",[],"any",false,false,false,82),'widget');
echo"
</div>";
}
// line 85
if((isset($context["with_hours"])||array_key_exists("with_hours",$context)?$context["with_hours"]:(function(){thrownewRuntimeError('Variable "with_hours" does not exist.',85,$this->source);})())){
// line 86
echo"<div class=\"col-auto\">
";
// line 87
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env,$this->source,(isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',87,$this->source);})()),"hours",[],"any",false,false,false,87),'label');
echo"
";
// line 88
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env,$this->source,(isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',88,$this->source);})()),"hours",[],"any",false,false,false,88),'widget');
echo"
</div>";
}
// line 91
if((isset($context["with_minutes"])||array_key_exists("with_minutes",$context)?$context["with_minutes"]:(function(){thrownewRuntimeError('Variable "with_minutes" does not exist.',91,$this->source);})())){
// line 92
echo"<div class=\"col-auto\">
";
// line 93
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env,$this->source,(isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',93,$this->source);})()),"minutes",[],"any",false,false,false,93),'label');
echo"
";
// line 94
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env,$this->source,(isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',94,$this->source);})()),"minutes",[],"any",false,false,false,94),'widget');
echo"
</div>";
}
// line 97
if((isset($context["with_seconds"])||array_key_exists("with_seconds",$context)?$context["with_seconds"]:(function(){thrownewRuntimeError('Variable "with_seconds" does not exist.',97,$this->source);})())){
// line 98
echo"<div class=\"col-auto\">
";
// line 99
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env,$this->source,(isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',99,$this->source);})()),"seconds",[],"any",false,false,false,99),'label');
echo"
";
// line 100
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env,$this->source,(isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',100,$this->source);})()),"seconds",[],"any",false,false,false,100),'widget');
echo"
</div>";
}
// line 103
if((isset($context["with_invert"])||array_key_exists("with_invert",$context)?$context["with_invert"]:(function(){thrownewRuntimeError('Variable "with_invert" does not exist.',103,$this->source);})())){
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env,$this->source,(isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',103,$this->source);})()),"invert",[],"any",false,false,false,103),'widget');
if((isset($context["symbol"])||array_key_exists("symbol",$context)?$context["symbol"]:(function(){thrownewRuntimeError('Variable "symbol" does not exist.',109,$this->source);})())){
echotwig_escape_filter($this->env,((array_key_exists("symbol",$context))?(_twig_default_filter((isset($context["symbol"])||array_key_exists("symbol",$context)?$context["symbol"]:(function(){thrownewRuntimeError('Variable "symbol" does not exist.',113,$this->source);})()),"%")):("%")),"html",null,true);
echotwig_escape_filter($this->env,((array_key_exists("element",$context))?(_twig_default_filter((isset($context["element"])||array_key_exists("element",$context)?$context["element"]:(function(){thrownewRuntimeError('Variable "element" does not exist.',122,$this->source);})()),"div")):("div")),"html",null,true);
echo" class=\"custom-file\">";
// line 123
$context["type"]=((array_key_exists("type",$context))?(_twig_default_filter((isset($context["type"])||array_key_exists("type",$context)?$context["type"]:(function(){thrownewRuntimeError('Variable "type" does not exist.',123,$this->source);})()),"file")):("file"));
$context["input_lang"]=twig_get_attribute($this->env,$this->source,twig_get_attribute($this->env,$this->source,(isset($context["app"])||array_key_exists("app",$context)?$context["app"]:(function(){thrownewRuntimeError('Variable "app" does not exist.',125,$this->source);})()),"request",[],"any",false,false,false,125),"locale",[],"any",false,false,false,125);
}
// line 126
$context["attr"]=twig_array_merge(["lang"=>(isset($context["input_lang"])||array_key_exists("input_lang",$context)?$context["input_lang"]:(function(){thrownewRuntimeError('Variable "input_lang" does not exist.',126,$this->source);})())],(isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',126,$this->source);})()));
$context["label_attr"]=twig_array_filter($this->env,twig_array_merge((isset($context["label_attr"])||array_key_exists("label_attr",$context)?$context["label_attr"]:(function(){thrownewRuntimeError('Variable "label_attr" does not exist.',128,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",true,true,false,128))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",false,false,false,128),"")):(""))." custom-file-label"))]),function($__value__,$__key__)use($context,$macros){$context["value"]=$__value__;$context["key"]=$__key__;return((isset($context["key"])||array_key_exists("key",$context)?$context["key"]:(function(){thrownewRuntimeError('Variable "key" does not exist.',128,$this->source);})())!="id");});
// line 129
echo"<label for=\"";
echotwig_escape_filter($this->env,twig_get_attribute($this->env,$this->source,twig_get_attribute($this->env,$this->source,(isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',129,$this->source);})()),"vars",[],"any",false,false,false,129),"id",[],"any",false,false,false,129),"html",null,true);
echo"\"";
$__internal_compile_4=$context;
$__internal_compile_5=["attr"=>(isset($context["label_attr"])||array_key_exists("label_attr",$context)?$context["label_attr"]:(function(){thrownewRuntimeError('Variable "label_attr" does not exist.',129,$this->source);})())];
if(!twig_test_iterable($__internal_compile_5)){
thrownewRuntimeError('Variables passed to the "with" tag must be a hash.',129,$this->getSourceContext());
if((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"placeholder",[],"any",true,true,false,130)&&!(null===twig_get_attribute($this->env,$this->source,(isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',130,$this->source);})()),"placeholder",[],"any",false,false,false,130)))){
// line 131
echotwig_escape_filter($this->env,((((isset($context["translation_domain"])||array_key_exists("translation_domain",$context)?$context["translation_domain"]:(function(){thrownewRuntimeError('Variable "translation_domain" does not exist.',131,$this->source);})())===false))?(twig_get_attribute($this->env,$this->source,(isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',131,$this->source);})()),"placeholder",[],"any",false,false,false,131)):($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env,$this->source,(isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',131,$this->source);})()),"placeholder",[],"any",false,false,false,131),[],(isset($context["translation_domain"])||array_key_exists("translation_domain",$context)?$context["translation_domain"]:(function(){thrownewRuntimeError('Variable "translation_domain" does not exist.',131,$this->source);})())))),"html",null,true);
}
// line 133
echo"</label>
</";
// line 134
echotwig_escape_filter($this->env,((array_key_exists("element",$context))?(_twig_default_filter((isset($context["element"])||array_key_exists("element",$context)?$context["element"]:(function(){thrownewRuntimeError('Variable "element" does not exist.',134,$this->source);})()),"div")):("div")),"html",null,true);
if((!array_key_exists("type",$context)||((isset($context["type"])||array_key_exists("type",$context)?$context["type"]:(function(){thrownewRuntimeError('Variable "type" does not exist.',138,$this->source);})())!="hidden"))){
// line 139
$context["className"]=" form-control";
// line 140
if((((array_key_exists("type",$context))?(_twig_default_filter((isset($context["type"])||array_key_exists("type",$context)?$context["type"]:(function(){thrownewRuntimeError('Variable "type" does not exist.',140,$this->source);})()),"")):(""))=="file")){
// line 141
$context["className"]=" custom-file-input";
}elseif((((// line 142
array_key_exists("type",$context))?(_twig_default_filter((isset($context["type"])||array_key_exists("type",$context)?$context["type"]:(function(){thrownewRuntimeError('Variable "type" does not exist.',142,$this->source);})()),"")):(""))=="range")){
// line 143
$context["className"]=" form-control-range";
}
// line 145
$context["attr"]=twig_array_merge((isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',145,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",true,true,false,145))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",false,false,false,145),"")):("")).(isset($context["className"])||array_key_exists("className",$context)?$context["className"]:(function(){thrownewRuntimeError('Variable "className" does not exist.',145,$this->source);})())))]);
}
// line 147
if((array_key_exists("type",$context)&&(((isset($context["type"])||array_key_exists("type",$context)?$context["type"]:(function(){thrownewRuntimeError('Variable "type" does not exist.',147,$this->source);})())=="range")||((isset($context["type"])||array_key_exists("type",$context)?$context["type"]:(function(){thrownewRuntimeError('Variable "type" does not exist.',147,$this->source);})())=="color")))){
if(!(isset($context["valid"])||array_key_exists("valid",$context)?$context["valid"]:(function(){thrownewRuntimeError('Variable "valid" does not exist.',155,$this->source);})())){
// line 156
$context["attr"]=twig_array_merge((isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',156,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",true,true,false,156))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",false,false,false,156),"")):(""))." is-invalid"))]);
$context["attr"]=twig_array_merge((isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',162,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",true,true,false,162))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",false,false,false,162),"btn-secondary")):("btn-secondary"))." btn"))]);
$context["attr"]=twig_array_merge((isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',167,$this->source);})()),["class"=>twig_trim_filter(((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",true,true,false,167))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",false,false,false,167),"btn-primary")):("btn-primary")))]);
$context["parent_label_class"]=((array_key_exists("parent_label_class",$context))?(_twig_default_filter((isset($context["parent_label_class"])||array_key_exists("parent_label_class",$context)?$context["parent_label_class"]:(function(){thrownewRuntimeError('Variable "parent_label_class" does not exist.',172,$this->source);})()),((twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",true,true,false,172))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",false,false,false,172),"")):("")))):(((twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",true,true,false,172))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",false,false,false,172),"")):(""))));
// line 173
if(twig_in_filter("checkbox-custom",(isset($context["parent_label_class"])||array_key_exists("parent_label_class",$context)?$context["parent_label_class"]:(function(){thrownewRuntimeError('Variable "parent_label_class" does not exist.',173,$this->source);})()))){
// line 174
$context["attr"]=twig_array_merge((isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',174,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",true,true,false,174))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",false,false,false,174),"")):(""))." custom-control-input"))]);
echo((twig_in_filter("checkbox-inline",(isset($context["parent_label_class"])||array_key_exists("parent_label_class",$context)?$context["parent_label_class"]:(function(){thrownewRuntimeError('Variable "parent_label_class" does not exist.',175,$this->source);})())))?(" custom-control-inline"):(""));
echo"\">";
// line 176
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',176,$this->source);})()),'label',["widget"=>$this->renderParentBlock("checkbox_widget",$context,$blocks)]);
// line 177
echo"</div>";
}elseif(twig_in_filter("switch-custom",// line 178
(isset($context["parent_label_class"])||array_key_exists("parent_label_class",$context)?$context["parent_label_class"]:(function(){thrownewRuntimeError('Variable "parent_label_class" does not exist.',178,$this->source);})()))){
// line 179
$context["attr"]=twig_array_merge((isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',179,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",true,true,false,179))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",false,false,false,179),"")):(""))." custom-control-input"))]);
// line 180
echo"<div class=\"custom-control custom-switch";
echo((twig_in_filter("switch-inline",(isset($context["parent_label_class"])||array_key_exists("parent_label_class",$context)?$context["parent_label_class"]:(function(){thrownewRuntimeError('Variable "parent_label_class" does not exist.',180,$this->source);})())))?(" custom-control-inline"):(""));
echo"\">";
// line 181
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',181,$this->source);})()),'label',["widget"=>$this->renderParentBlock("checkbox_widget",$context,$blocks)]);
// line 182
echo"</div>";
}else{
// line 184
$context["attr"]=twig_array_merge((isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',184,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",true,true,false,184))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",false,false,false,184),"")):(""))." form-check-input"))]);
// line 185
echo"<div class=\"form-check";
echo((twig_in_filter("checkbox-inline",(isset($context["parent_label_class"])||array_key_exists("parent_label_class",$context)?$context["parent_label_class"]:(function(){thrownewRuntimeError('Variable "parent_label_class" does not exist.',185,$this->source);})())))?(" form-check-inline"):(""));
echo"\">";
// line 186
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',186,$this->source);})()),'label',["widget"=>$this->renderParentBlock("checkbox_widget",$context,$blocks)]);
$context["parent_label_class"]=((array_key_exists("parent_label_class",$context))?(_twig_default_filter((isset($context["parent_label_class"])||array_key_exists("parent_label_class",$context)?$context["parent_label_class"]:(function(){thrownewRuntimeError('Variable "parent_label_class" does not exist.',192,$this->source);})()),((twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",true,true,false,192))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",false,false,false,192),"")):("")))):(((twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",true,true,false,192))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",false,false,false,192),"")):(""))));
// line 193
if(twig_in_filter("radio-custom",(isset($context["parent_label_class"])||array_key_exists("parent_label_class",$context)?$context["parent_label_class"]:(function(){thrownewRuntimeError('Variable "parent_label_class" does not exist.',193,$this->source);})()))){
// line 194
$context["attr"]=twig_array_merge((isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',194,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",true,true,false,194))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",false,false,false,194),"")):(""))." custom-control-input"))]);
// line 195
echo"<div class=\"custom-control custom-radio";
echo((twig_in_filter("radio-inline",(isset($context["parent_label_class"])||array_key_exists("parent_label_class",$context)?$context["parent_label_class"]:(function(){thrownewRuntimeError('Variable "parent_label_class" does not exist.',195,$this->source);})())))?(" custom-control-inline"):(""));
echo"\">";
// line 196
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',196,$this->source);})()),'label',["widget"=>$this->renderParentBlock("radio_widget",$context,$blocks)]);
// line 197
echo"</div>";
}else{
// line 199
$context["attr"]=twig_array_merge((isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',199,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",true,true,false,199))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",false,false,false,199),"")):(""))." form-check-input"))]);
// line 200
echo"<div class=\"form-check";
echo((twig_in_filter("radio-inline",(isset($context["parent_label_class"])||array_key_exists("parent_label_class",$context)?$context["parent_label_class"]:(function(){thrownewRuntimeError('Variable "parent_label_class" does not exist.',200,$this->source);})())))?(" form-check-inline"):(""));
echo"\">";
// line 201
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',201,$this->source);})()),'label',["widget"=>$this->renderParentBlock("radio_widget",$context,$blocks)]);
$context["attr"]=twig_array_merge((isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',207,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",true,true,false,207))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",false,false,false,207),"")):(""))." form-control"))]);
$context['_seq']=twig_ensure_traversable((isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',213,$this->source);})()));
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["child"],'widget',["parent_label_class"=>((twig_get_attribute($this->env,$this->source,// line 215
($context["label_attr"]??null),"class",[],"any",true,true,false,215))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",false,false,false,215),"")):("")),"translation_domain"=>// line 216
(isset($context["choice_translation_domain"])||array_key_exists("choice_translation_domain",$context)?$context["choice_translation_domain"]:(function(){thrownewRuntimeError('Variable "choice_translation_domain" does not exist.',216,$this->source);})()),"valid"=>// line 217
(isset($context["valid"])||array_key_exists("valid",$context)?$context["valid"]:(function(){thrownewRuntimeError('Variable "valid" does not exist.',217,$this->source);})())]);
if(!((isset($context["label"])||array_key_exists("label",$context)?$context["label"]:(function(){thrownewRuntimeError('Variable "label" does not exist.',226,$this->source);})())===false)){
// line 227
if((array_key_exists("compound",$context)&&(isset($context["compound"])||array_key_exists("compound",$context)?$context["compound"]:(function(){thrownewRuntimeError('Variable "compound" does not exist.',227,$this->source);})()))){
// line 228
$context["element"]="legend";
// line 229
$context["label_attr"]=twig_array_merge((isset($context["label_attr"])||array_key_exists("label_attr",$context)?$context["label_attr"]:(function(){thrownewRuntimeError('Variable "label_attr" does not exist.',229,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",true,true,false,229))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",false,false,false,229),"")):(""))." col-form-label"))]);
}else{
// line 231
$context["label_attr"]=twig_array_merge((isset($context["label_attr"])||array_key_exists("label_attr",$context)?$context["label_attr"]:(function(){thrownewRuntimeError('Variable "label_attr" does not exist.',231,$this->source);})()),["for"=>(isset($context["id"])||array_key_exists("id",$context)?$context["id"]:(function(){thrownewRuntimeError('Variable "id" does not exist.',231,$this->source);})())]);
}
// line 233
if((isset($context["required"])||array_key_exists("required",$context)?$context["required"]:(function(){thrownewRuntimeError('Variable "required" does not exist.',233,$this->source);})())){
// line 234
$context["label_attr"]=twig_array_merge((isset($context["label_attr"])||array_key_exists("label_attr",$context)?$context["label_attr"]:(function(){thrownewRuntimeError('Variable "label_attr" does not exist.',234,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",true,true,false,234))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",false,false,false,234),"")):(""))." required"))]);
}
// line 236
if(twig_test_empty((isset($context["label"])||array_key_exists("label",$context)?$context["label"]:(function(){thrownewRuntimeError('Variable "label" does not exist.',236,$this->source);})()))){
// line 237
if(!twig_test_empty((isset($context["label_format"])||array_key_exists("label_format",$context)?$context["label_format"]:(function(){thrownewRuntimeError('Variable "label_format" does not exist.',237,$this->source);})()))){
// line 238
$context["label"]=twig_replace_filter((isset($context["label_format"])||array_key_exists("label_format",$context)?$context["label_format"]:(function(){thrownewRuntimeError('Variable "label_format" does not exist.',238,$this->source);})()),["%name%"=>// line 239
(isset($context["name"])||array_key_exists("name",$context)?$context["name"]:(function(){thrownewRuntimeError('Variable "name" does not exist.',239,$this->source);})()),"%id%"=>// line 240
(isset($context["id"])||array_key_exists("id",$context)?$context["id"]:(function(){thrownewRuntimeError('Variable "id" does not exist.',240,$this->source);})())]);
}else{
// line 243
$context["label"]=$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->humanize((isset($context["name"])||array_key_exists("name",$context)?$context["name"]:(function(){thrownewRuntimeError('Variable "name" does not exist.',243,$this->source);})()));
}
}
// line 246
echo"<";
echotwig_escape_filter($this->env,((array_key_exists("element",$context))?(_twig_default_filter((isset($context["element"])||array_key_exists("element",$context)?$context["element"]:(function(){thrownewRuntimeError('Variable "element" does not exist.',246,$this->source);})()),"label")):("label")),"html",null,true);
if((isset($context["label_attr"])||array_key_exists("label_attr",$context)?$context["label_attr"]:(function(){thrownewRuntimeError('Variable "label_attr" does not exist.',246,$this->source);})())){
$__internal_compile_6=$context;
$__internal_compile_7=["attr"=>(isset($context["label_attr"])||array_key_exists("label_attr",$context)?$context["label_attr"]:(function(){thrownewRuntimeError('Variable "label_attr" does not exist.',246,$this->source);})())];
if(!twig_test_iterable($__internal_compile_7)){
thrownewRuntimeError('Variables passed to the "with" tag must be a hash.',246,$this->getSourceContext());
if(((isset($context["translation_domain"])||array_key_exists("translation_domain",$context)?$context["translation_domain"]:(function(){thrownewRuntimeError('Variable "translation_domain" does not exist.',247,$this->source);})())===false)){
// line 248
if(((isset($context["label_html"])||array_key_exists("label_html",$context)?$context["label_html"]:(function(){thrownewRuntimeError('Variable "label_html" does not exist.',248,$this->source);})())===false)){
// line 249
echotwig_escape_filter($this->env,(isset($context["label"])||array_key_exists("label",$context)?$context["label"]:(function(){thrownewRuntimeError('Variable "label" does not exist.',249,$this->source);})()),"html",null,true);
}else{
// line 251
echo(isset($context["label"])||array_key_exists("label",$context)?$context["label"]:(function(){thrownewRuntimeError('Variable "label" does not exist.',251,$this->source);})());
}
}else{
// line 254
if(((isset($context["label_html"])||array_key_exists("label_html",$context)?$context["label_html"]:(function(){thrownewRuntimeError('Variable "label_html" does not exist.',254,$this->source);})())===false)){
// line 255
echotwig_escape_filter($this->env,$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((isset($context["label"])||array_key_exists("label",$context)?$context["label"]:(function(){thrownewRuntimeError('Variable "label" does not exist.',255,$this->source);})()),(isset($context["label_translation_parameters"])||array_key_exists("label_translation_parameters",$context)?$context["label_translation_parameters"]:(function(){thrownewRuntimeError('Variable "label_translation_parameters" does not exist.',255,$this->source);})()),(isset($context["translation_domain"])||array_key_exists("translation_domain",$context)?$context["translation_domain"]:(function(){thrownewRuntimeError('Variable "translation_domain" does not exist.',255,$this->source);})())),"html",null,true);
}else{
// line 257
echo$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((isset($context["label"])||array_key_exists("label",$context)?$context["label"]:(function(){thrownewRuntimeError('Variable "label" does not exist.',257,$this->source);})()),(isset($context["label_translation_parameters"])||array_key_exists("label_translation_parameters",$context)?$context["label_translation_parameters"]:(function(){thrownewRuntimeError('Variable "label_translation_parameters" does not exist.',257,$this->source);})()),(isset($context["translation_domain"])||array_key_exists("translation_domain",$context)?$context["translation_domain"]:(function(){thrownewRuntimeError('Variable "translation_domain" does not exist.',257,$this->source);})()));
echotwig_escape_filter($this->env,((array_key_exists("element",$context))?(_twig_default_filter((isset($context["element"])||array_key_exists("element",$context)?$context["element"]:(function(){thrownewRuntimeError('Variable "element" does not exist.',260,$this->source);})()),"label")):("label")),"html",null,true);
echo">";
}else{
// line 262
if((twig_length_filter($this->env,(isset($context["errors"])||array_key_exists("errors",$context)?$context["errors"]:(function(){thrownewRuntimeError('Variable "errors" does not exist.',262,$this->source);})()))>0)){
// line 263
echo"<div id=\"";
echotwig_escape_filter($this->env,(isset($context["id"])||array_key_exists("id",$context)?$context["id"]:(function(){thrownewRuntimeError('Variable "id" does not exist.',263,$this->source);})()),"html",null,true);
echo"_errors\" class=\"mb-2\">";
// line 264
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',264,$this->source);})()),'errors');
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',260,$this->source);})()),'errors');
$context["is_parent_custom"]=(array_key_exists("parent_label_class",$context)&&((twig_in_filter("checkbox-custom",(isset($context["parent_label_class"])||array_key_exists("parent_label_class",$context)?$context["parent_label_class"]:(function(){thrownewRuntimeError('Variable "parent_label_class" does not exist.',273,$this->source);})()))||twig_in_filter("radio-custom",(isset($context["parent_label_class"])||array_key_exists("parent_label_class",$context)?$context["parent_label_class"]:(function(){thrownewRuntimeError('Variable "parent_label_class" does not exist.',273,$this->source);})())))||twig_in_filter("switch-custom",(isset($context["parent_label_class"])||array_key_exists("parent_label_class",$context)?$context["parent_label_class"]:(function(){thrownewRuntimeError('Variable "parent_label_class" does not exist.',273,$this->source);})()))));
// line 274
echo"";
$context["is_custom"]=(twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",true,true,false,274)&&((twig_in_filter("checkbox-custom",twig_get_attribute($this->env,$this->source,(isset($context["label_attr"])||array_key_exists("label_attr",$context)?$context["label_attr"]:(function(){thrownewRuntimeError('Variable "label_attr" does not exist.',274,$this->source);})()),"class",[],"any",false,false,false,274))||twig_in_filter("radio-custom",twig_get_attribute($this->env,$this->source,(isset($context["label_attr"])||array_key_exists("label_attr",$context)?$context["label_attr"]:(function(){thrownewRuntimeError('Variable "label_attr" does not exist.',274,$this->source);})()),"class",[],"any",false,false,false,274)))||twig_in_filter("switch-custom",twig_get_attribute($this->env,$this->source,(isset($context["label_attr"])||array_key_exists("label_attr",$context)?$context["label_attr"]:(function(){thrownewRuntimeError('Variable "label_attr" does not exist.',274,$this->source);})()),"class",[],"any",false,false,false,274))));
// line 275
if(((isset($context["is_parent_custom"])||array_key_exists("is_parent_custom",$context)?$context["is_parent_custom"]:(function(){thrownewRuntimeError('Variable "is_parent_custom" does not exist.',275,$this->source);})())||(isset($context["is_custom"])||array_key_exists("is_custom",$context)?$context["is_custom"]:(function(){thrownewRuntimeError('Variable "is_custom" does not exist.',275,$this->source);})()))){
// line 276
$context["label_attr"]=twig_array_merge((isset($context["label_attr"])||array_key_exists("label_attr",$context)?$context["label_attr"]:(function(){thrownewRuntimeError('Variable "label_attr" does not exist.',276,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",true,true,false,276))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",false,false,false,276),"")):(""))." custom-control-label"))]);
}else{
// line 278
$context["label_attr"]=twig_array_merge((isset($context["label_attr"])||array_key_exists("label_attr",$context)?$context["label_attr"]:(function(){thrownewRuntimeError('Variable "label_attr" does not exist.',278,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",true,true,false,278))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",false,false,false,278),"")):(""))." form-check-label"))]);
}
// line 280
if(!(isset($context["compound"])||array_key_exists("compound",$context)?$context["compound"]:(function(){thrownewRuntimeError('Variable "compound" does not exist.',280,$this->source);})())){
// line 281
$context["label_attr"]=twig_array_merge((isset($context["label_attr"])||array_key_exists("label_attr",$context)?$context["label_attr"]:(function(){thrownewRuntimeError('Variable "label_attr" does not exist.',281,$this->source);})()),["for"=>(isset($context["id"])||array_key_exists("id",$context)?$context["id"]:(function(){thrownewRuntimeError('Variable "id" does not exist.',281,$this->source);})())]);
}
// line 283
if((isset($context["required"])||array_key_exists("required",$context)?$context["required"]:(function(){thrownewRuntimeError('Variable "required" does not exist.',283,$this->source);})())){
// line 284
$context["label_attr"]=twig_array_merge((isset($context["label_attr"])||array_key_exists("label_attr",$context)?$context["label_attr"]:(function(){thrownewRuntimeError('Variable "label_attr" does not exist.',284,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",true,true,false,284))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",false,false,false,284),"")):(""))." required"))]);
}
// line 286
if((!((isset($context["label"])||array_key_exists("label",$context)?$context["label"]:(function(){thrownewRuntimeError('Variable "label" does not exist.',286,$this->source);})())===false)&&twig_test_empty((isset($context["label"])||array_key_exists("label",$context)?$context["label"]:(function(){thrownewRuntimeError('Variable "label" does not exist.',286,$this->source);})())))){
// line 287
if(!twig_test_empty((isset($context["label_format"])||array_key_exists("label_format",$context)?$context["label_format"]:(function(){thrownewRuntimeError('Variable "label_format" does not exist.',287,$this->source);})()))){
// line 288
$context["label"]=twig_replace_filter((isset($context["label_format"])||array_key_exists("label_format",$context)?$context["label_format"]:(function(){thrownewRuntimeError('Variable "label_format" does not exist.',288,$this->source);})()),["%name%"=>// line 289
(isset($context["name"])||array_key_exists("name",$context)?$context["name"]:(function(){thrownewRuntimeError('Variable "name" does not exist.',289,$this->source);})()),"%id%"=>// line 290
(isset($context["id"])||array_key_exists("id",$context)?$context["id"]:(function(){thrownewRuntimeError('Variable "id" does not exist.',290,$this->source);})())]);
}else{
// line 293
$context["label"]=$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->humanize((isset($context["name"])||array_key_exists("name",$context)?$context["name"]:(function(){thrownewRuntimeError('Variable "name" does not exist.',293,$this->source);})()));
}
}
// line 297
echo(isset($context["widget"])||array_key_exists("widget",$context)?$context["widget"]:(function(){thrownewRuntimeError('Variable "widget" does not exist.',297,$this->source);})());
echo"
<label";
// line 298
$__internal_compile_8=$context;
$__internal_compile_9=["attr"=>(isset($context["label_attr"])||array_key_exists("label_attr",$context)?$context["label_attr"]:(function(){thrownewRuntimeError('Variable "label_attr" does not exist.',298,$this->source);})())];
if(!twig_test_iterable($__internal_compile_9)){
thrownewRuntimeError('Variables passed to the "with" tag must be a hash.',298,$this->getSourceContext());
if(!((isset($context["label"])||array_key_exists("label",$context)?$context["label"]:(function(){thrownewRuntimeError('Variable "label" does not exist.',299,$this->source);})())===false)){
// line 300
if(((isset($context["translation_domain"])||array_key_exists("translation_domain",$context)?$context["translation_domain"]:(function(){thrownewRuntimeError('Variable "translation_domain" does not exist.',300,$this->source);})())===false)){
// line 301
if(((isset($context["label_html"])||array_key_exists("label_html",$context)?$context["label_html"]:(function(){thrownewRuntimeError('Variable "label_html" does not exist.',301,$this->source);})())===false)){
// line 302
echotwig_escape_filter($this->env,(isset($context["label"])||array_key_exists("label",$context)?$context["label"]:(function(){thrownewRuntimeError('Variable "label" does not exist.',302,$this->source);})()),"html",null,true);
}else{
// line 304
echo(isset($context["label"])||array_key_exists("label",$context)?$context["label"]:(function(){thrownewRuntimeError('Variable "label" does not exist.',304,$this->source);})());
}
}else{
// line 307
if(((isset($context["label_html"])||array_key_exists("label_html",$context)?$context["label_html"]:(function(){thrownewRuntimeError('Variable "label_html" does not exist.',307,$this->source);})())===false)){
// line 308
echotwig_escape_filter($this->env,$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((isset($context["label"])||array_key_exists("label",$context)?$context["label"]:(function(){thrownewRuntimeError('Variable "label" does not exist.',308,$this->source);})()),(isset($context["label_translation_parameters"])||array_key_exists("label_translation_parameters",$context)?$context["label_translation_parameters"]:(function(){thrownewRuntimeError('Variable "label_translation_parameters" does not exist.',308,$this->source);})()),(isset($context["translation_domain"])||array_key_exists("translation_domain",$context)?$context["translation_domain"]:(function(){thrownewRuntimeError('Variable "translation_domain" does not exist.',308,$this->source);})())),"html",null,true);
}else{
// line 310
echo$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((isset($context["label"])||array_key_exists("label",$context)?$context["label"]:(function(){thrownewRuntimeError('Variable "label" does not exist.',310,$this->source);})()),(isset($context["label_translation_parameters"])||array_key_exists("label_translation_parameters",$context)?$context["label_translation_parameters"]:(function(){thrownewRuntimeError('Variable "label_translation_parameters" does not exist.',310,$this->source);})()),(isset($context["translation_domain"])||array_key_exists("translation_domain",$context)?$context["translation_domain"]:(function(){thrownewRuntimeError('Variable "translation_domain" does not exist.',310,$this->source);})()));
}
}
}
// line 314
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',314,$this->source);})()),'errors');
if((array_key_exists("compound",$context)&&(isset($context["compound"])||array_key_exists("compound",$context)?$context["compound"]:(function(){thrownewRuntimeError('Variable "compound" does not exist.',322,$this->source);})()))){
// line 323
$context["element"]="fieldset";
}
// line 325
$context["widget_attr"]=[];
// line 326
if(!twig_test_empty((isset($context["help"])||array_key_exists("help",$context)?$context["help"]:(function(){thrownewRuntimeError('Variable "help" does not exist.',326,$this->source);})()))){
// line 327
$context["widget_attr"]=["attr"=>["aria-describedby"=>((isset($context["id"])||array_key_exists("id",$context)?$context["id"]:(function(){thrownewRuntimeError('Variable "id" does not exist.',327,$this->source);})())."_help")]];
}
// line 329
echo"<";
echotwig_escape_filter($this->env,((array_key_exists("element",$context))?(_twig_default_filter((isset($context["element"])||array_key_exists("element",$context)?$context["element"]:(function(){thrownewRuntimeError('Variable "element" does not exist.',329,$this->source);})()),"div")):("div")),"html",null,true);
$__internal_compile_10=$context;
$__internal_compile_11=["attr"=>twig_array_merge((isset($context["row_attr"])||array_key_exists("row_attr",$context)?$context["row_attr"]:(function(){thrownewRuntimeError('Variable "row_attr" does not exist.',329,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",true,true,false,329))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",false,false,false,329),"")):(""))." form-group"))])];
if(!twig_test_iterable($__internal_compile_11)){
thrownewRuntimeError('Variables passed to the "with" tag must be a hash.',329,$this->getSourceContext());
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',330,$this->source);})()),'label');
// line 331
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',331,$this->source);})()),'widget',(isset($context["widget_attr"])||array_key_exists("widget_attr",$context)?$context["widget_attr"]:(function(){thrownewRuntimeError('Variable "widget_attr" does not exist.',331,$this->source);})()));
// line 332
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',332,$this->source);})()),'help');
// line 333
echo"</";
echotwig_escape_filter($this->env,((array_key_exists("element",$context))?(_twig_default_filter((isset($context["element"])||array_key_exists("element",$context)?$context["element"]:(function(){thrownewRuntimeError('Variable "element" does not exist.',333,$this->source);})()),"div")):("div")),"html",null,true);
if((twig_length_filter($this->env,(isset($context["errors"])||array_key_exists("errors",$context)?$context["errors"]:(function(){thrownewRuntimeError('Variable "errors" does not exist.',339,$this->source);})()))>0)){
// line 340
echo"<span class=\"";
if(!Symfony\Bridge\Twig\Extension\twig_is_root_form((isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',340,$this->source);})()))){
echo"invalid-feedback";
}else{
echo"alert alert-danger";
}
echo" d-block\">";
// line 341
$context['_parent']=$context;
$context['_seq']=twig_ensure_traversable((isset($context["errors"])||array_key_exists("errors",$context)?$context["errors"]:(function(){thrownewRuntimeError('Variable "errors" does not exist.',341,$this->source);})()));
if(!twig_test_empty((isset($context["help"])||array_key_exists("help",$context)?$context["help"]:(function(){thrownewRuntimeError('Variable "help" does not exist.',353,$this->source);})()))){
// line 354
$context["help_attr"]=twig_array_merge((isset($context["help_attr"])||array_key_exists("help_attr",$context)?$context["help_attr"]:(function(){thrownewRuntimeError('Variable "help_attr" does not exist.',354,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["help_attr"]??null),"class",[],"any",true,true,false,354))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["help_attr"]??null),"class",[],"any",false,false,false,354),"")):(""))." form-text text-muted"))]);
// line 355
echo"<small id=\"";
echotwig_escape_filter($this->env,(isset($context["id"])||array_key_exists("id",$context)?$context["id"]:(function(){thrownewRuntimeError('Variable "id" does not exist.',355,$this->source);})()),"html",null,true);
echo"_help\"";
$__internal_compile_12=$context;
$__internal_compile_13=["attr"=>(isset($context["help_attr"])||array_key_exists("help_attr",$context)?$context["help_attr"]:(function(){thrownewRuntimeError('Variable "help_attr" does not exist.',355,$this->source);})())];
if(!twig_test_iterable($__internal_compile_13)){
thrownewRuntimeError('Variables passed to the "with" tag must be a hash.',355,$this->getSourceContext());
if(((isset($context["translation_domain"])||array_key_exists("translation_domain",$context)?$context["translation_domain"]:(function(){thrownewRuntimeError('Variable "translation_domain" does not exist.',356,$this->source);})())===false)){
// line 357
if(((isset($context["help_html"])||array_key_exists("help_html",$context)?$context["help_html"]:(function(){thrownewRuntimeError('Variable "help_html" does not exist.',357,$this->source);})())===false)){
// line 358
echotwig_escape_filter($this->env,(isset($context["help"])||array_key_exists("help",$context)?$context["help"]:(function(){thrownewRuntimeError('Variable "help" does not exist.',358,$this->source);})()),"html",null,true);
}else{
// line 360
echo(isset($context["help"])||array_key_exists("help",$context)?$context["help"]:(function(){thrownewRuntimeError('Variable "help" does not exist.',360,$this->source);})());
}
}else{
// line 363
if(((isset($context["help_html"])||array_key_exists("help_html",$context)?$context["help_html"]:(function(){thrownewRuntimeError('Variable "help_html" does not exist.',363,$this->source);})())===false)){
// line 364
echotwig_escape_filter($this->env,$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((isset($context["help"])||array_key_exists("help",$context)?$context["help"]:(function(){thrownewRuntimeError('Variable "help" does not exist.',364,$this->source);})()),(isset($context["help_translation_parameters"])||array_key_exists("help_translation_parameters",$context)?$context["help_translation_parameters"]:(function(){thrownewRuntimeError('Variable "help_translation_parameters" does not exist.',364,$this->source);})()),(isset($context["translation_domain"])||array_key_exists("translation_domain",$context)?$context["translation_domain"]:(function(){thrownewRuntimeError('Variable "translation_domain" does not exist.',364,$this->source);})())),"html",null,true);
}else{
// line 366
echo$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((isset($context["help"])||array_key_exists("help",$context)?$context["help"]:(function(){thrownewRuntimeError('Variable "help" does not exist.',366,$this->source);})()),(isset($context["help_translation_parameters"])||array_key_exists("help_translation_parameters",$context)?$context["help_translation_parameters"]:(function(){thrownewRuntimeError('Variable "help_translation_parameters" does not exist.',366,$this->source);})()),(isset($context["translation_domain"])||array_key_exists("translation_domain",$context)?$context["translation_domain"]:(function(){thrownewRuntimeError('Variable "translation_domain" does not exist.',366,$this->source);})()));