$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);})()))){
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"<span class=\"input-group-text\">";
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.',11,$this->source);})()));
if((isset($context["append"])||array_key_exists("append",$context)?$context["append"]:(function(){thrownewRuntimeError('Variable "append" does not exist.',14,$this->source);})())){
// line 15
echo"<span class=\"input-group-text\">";
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.',15,$this->source);})()));
if(((isset($context["widget"])||array_key_exists("widget",$context)?$context["widget"]:(function(){thrownewRuntimeError('Variable "widget" does not exist.',24,$this->source);})())=="single_text")){
if(!(isset($context["valid"])||array_key_exists("valid",$context)?$context["valid"]:(function(){thrownewRuntimeError('Variable "valid" does not exist.',27,$this->source);})())){
// line 28
echo"";
$context["attr"]=twig_array_merge((isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',28,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",true,true,false,28))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",false,false,false,28),"")):(""))." is-invalid"))]);
// line 29
$context["valid"]=true;
// line 30
echo"";
}
// line 31
if((!array_key_exists("datetime",$context)||!(isset($context["datetime"])||array_key_exists("datetime",$context)?$context["datetime"]:(function(){thrownewRuntimeError('Variable "datetime" does not exist.',31,$this->source);})()))){
if(!((isset($context["label"])||array_key_exists("label",$context)?$context["label"]:(function(){thrownewRuntimeError('Variable "label" does not exist.',34,$this->source);})())===false)){
// line 35
echo"<div class=\"visually-hidden\">";
// line 36
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.',36,$this->source);})()),"year",[],"any",false,false,false,36),'label');
// line 37
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.',37,$this->source);})()),"month",[],"any",false,false,false,37),'label');
// line 38
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.',38,$this->source);})()),"day",[],"any",false,false,false,38),'label');
// line 39
echo"</div>";
}
// line 41
echo"<div class=\"input-group\">";
// line 42
echotwig_replace_filter((isset($context["date_pattern"])||array_key_exists("date_pattern",$context)?$context["date_pattern"]:(function(){thrownewRuntimeError('Variable "date_pattern" does not exist.',42,$this->source);})()),["{{ year }}"=>// line 43
$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.',43,$this->source);})()),"year",[],"any",false,false,false,43),'widget'),"{{ month }}"=>// line 44
$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.',44,$this->source);})()),"month",[],"any",false,false,false,44),'widget'),"{{ day }}"=>// line 45
$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.',45,$this->source);})()),"day",[],"any",false,false,false,45),'widget')]);
// line 47
echo"</div>";
// line 48
if((!array_key_exists("datetime",$context)||!(isset($context["datetime"])||array_key_exists("datetime",$context)?$context["datetime"]:(function(){thrownewRuntimeError('Variable "datetime" does not exist.',48,$this->source);})()))){
if(((isset($context["widget"])||array_key_exists("widget",$context)?$context["widget"]:(function(){thrownewRuntimeError('Variable "widget" does not exist.',55,$this->source);})())=="single_text")){
if(!(isset($context["valid"])||array_key_exists("valid",$context)?$context["valid"]:(function(){thrownewRuntimeError('Variable "valid" does not exist.',58,$this->source);})())){
// line 59
echo"";
$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),"")):(""))." is-invalid"))]);
// line 60
$context["valid"]=true;
// line 61
echo"";
}
// line 62
if((!array_key_exists("datetime",$context)||(false==(isset($context["datetime"])||array_key_exists("datetime",$context)?$context["datetime"]:(function(){thrownewRuntimeError('Variable "datetime" does not exist.',62,$this->source);})())))){
if(!((isset($context["label"])||array_key_exists("label",$context)?$context["label"]:(function(){thrownewRuntimeError('Variable "label" does not exist.',65,$this->source);})())===false)){
// line 66
echo"<div class=\"visually-hidden\">";
// line 67
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.',67,$this->source);})()),"hour",[],"any",false,false,false,67),'label');
// line 68
if((isset($context["with_minutes"])||array_key_exists("with_minutes",$context)?$context["with_minutes"]:(function(){thrownewRuntimeError('Variable "with_minutes" does not exist.',68,$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.',68,$this->source);})()),"minute",[],"any",false,false,false,68),'label');
}
// line 69
if((isset($context["with_seconds"])||array_key_exists("with_seconds",$context)?$context["with_seconds"]:(function(){thrownewRuntimeError('Variable "with_seconds" does not exist.',69,$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.',69,$this->source);})()),"second",[],"any",false,false,false,69),'label');
}
// line 70
echo"</div>";
}
// line 72
if(((isset($context["with_minutes"])||array_key_exists("with_minutes",$context)?$context["with_minutes"]:(function(){thrownewRuntimeError('Variable "with_minutes" does not exist.',72,$this->source);})())||(isset($context["with_seconds"])||array_key_exists("with_seconds",$context)?$context["with_seconds"]:(function(){thrownewRuntimeError('Variable "with_seconds" does not exist.',72,$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.',75,$this->source);})()),"hour",[],"any",false,false,false,75),'widget');
// line 76
if((isset($context["with_minutes"])||array_key_exists("with_minutes",$context)?$context["with_minutes"]:(function(){thrownewRuntimeError('Variable "with_minutes" does not exist.',76,$this->source);})())){
// line 77
echo"<span class=\"input-group-text\">:</span>";
// line 78
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.',78,$this->source);})()),"minute",[],"any",false,false,false,78),'widget');
}
// line 80
if((isset($context["with_seconds"])||array_key_exists("with_seconds",$context)?$context["with_seconds"]:(function(){thrownewRuntimeError('Variable "with_seconds" does not exist.',80,$this->source);})())){
// line 81
echo"<span class=\"input-group-text\">:</span>";
// 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);})()),"second",[],"any",false,false,false,82),'widget');
}
// line 84
if(((isset($context["with_minutes"])||array_key_exists("with_minutes",$context)?$context["with_minutes"]:(function(){thrownewRuntimeError('Variable "with_minutes" does not exist.',84,$this->source);})())||(isset($context["with_seconds"])||array_key_exists("with_seconds",$context)?$context["with_seconds"]:(function(){thrownewRuntimeError('Variable "with_seconds" does not exist.',84,$this->source);})()))){
if((!array_key_exists("datetime",$context)||(false==(isset($context["datetime"])||array_key_exists("datetime",$context)?$context["datetime"]:(function(){thrownewRuntimeError('Variable "datetime" does not exist.',87,$this->source);})())))){
if(((isset($context["widget"])||array_key_exists("widget",$context)?$context["widget"]:(function(){thrownewRuntimeError('Variable "widget" does not exist.',94,$this->source);})())=="single_text")){
if(!(isset($context["valid"])||array_key_exists("valid",$context)?$context["valid"]:(function(){thrownewRuntimeError('Variable "valid" does not exist.',97,$this->source);})())){
// line 98
echo"";
$context["attr"]=twig_array_merge((isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',98,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",true,true,false,98))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",false,false,false,98),"")):(""))." is-invalid"))]);
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.',102,$this->source);})()),"date",[],"any",false,false,false,102),'widget',["datetime"=>true]);
// line 103
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);})()),"date",[],"any",false,false,false,103),'errors');
// line 104
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.',104,$this->source);})()),"time",[],"any",false,false,false,104),'widget',["datetime"=>true]);
// line 105
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.',105,$this->source);})()),"time",[],"any",false,false,false,105),'errors');
if(((isset($context["widget"])||array_key_exists("widget",$context)?$context["widget"]:(function(){thrownewRuntimeError('Variable "widget" does not exist.',111,$this->source);})())=="single_text")){
if(!(isset($context["valid"])||array_key_exists("valid",$context)?$context["valid"]:(function(){thrownewRuntimeError('Variable "valid" does not exist.',114,$this->source);})())){
// line 115
echo"";
$context["attr"]=twig_array_merge((isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',115,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",true,true,false,115))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",false,false,false,115),"")):(""))." is-invalid"))]);
if((isset($context["with_years"])||array_key_exists("with_years",$context)?$context["with_years"]:(function(){thrownewRuntimeError('Variable "with_years" does not exist.',119,$this->source);})())){
// line 120
echo"<div class=\"col-auto mb-3\">
";
// line 121
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.',121,$this->source);})()),"years",[],"any",false,false,false,121),'label');
echo"
";
// line 122
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.',122,$this->source);})()),"years",[],"any",false,false,false,122),'widget');
echo"
</div>";
}
// line 125
if((isset($context["with_months"])||array_key_exists("with_months",$context)?$context["with_months"]:(function(){thrownewRuntimeError('Variable "with_months" does not exist.',125,$this->source);})())){
// line 126
echo"<div class=\"col-auto mb-3\">
";
// line 127
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.',127,$this->source);})()),"months",[],"any",false,false,false,127),'label');
echo"
";
// line 128
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.',128,$this->source);})()),"months",[],"any",false,false,false,128),'widget');
echo"
</div>";
}
// line 131
if((isset($context["with_weeks"])||array_key_exists("with_weeks",$context)?$context["with_weeks"]:(function(){thrownewRuntimeError('Variable "with_weeks" does not exist.',131,$this->source);})())){
// line 132
echo"<div class=\"col-auto mb-3\">
";
// line 133
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.',133,$this->source);})()),"weeks",[],"any",false,false,false,133),'label');
echo"
";
// line 134
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.',134,$this->source);})()),"weeks",[],"any",false,false,false,134),'widget');
echo"
</div>";
}
// line 137
if((isset($context["with_days"])||array_key_exists("with_days",$context)?$context["with_days"]:(function(){thrownewRuntimeError('Variable "with_days" does not exist.',137,$this->source);})())){
// line 138
echo"<div class=\"col-auto mb-3\">
";
// line 139
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.',139,$this->source);})()),"days",[],"any",false,false,false,139),'label');
echo"
";
// line 140
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.',140,$this->source);})()),"days",[],"any",false,false,false,140),'widget');
echo"
</div>";
}
// line 143
if((isset($context["with_hours"])||array_key_exists("with_hours",$context)?$context["with_hours"]:(function(){thrownewRuntimeError('Variable "with_hours" does not exist.',143,$this->source);})())){
// line 144
echo"<div class=\"col-auto mb-3\">
";
// line 145
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.',145,$this->source);})()),"hours",[],"any",false,false,false,145),'label');
echo"
";
// line 146
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.',146,$this->source);})()),"hours",[],"any",false,false,false,146),'widget');
echo"
</div>";
}
// line 149
if((isset($context["with_minutes"])||array_key_exists("with_minutes",$context)?$context["with_minutes"]:(function(){thrownewRuntimeError('Variable "with_minutes" does not exist.',149,$this->source);})())){
// line 150
echo"<div class=\"col-auto mb-3\">
";
// line 151
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.',151,$this->source);})()),"minutes",[],"any",false,false,false,151),'label');
echo"
";
// line 152
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.',152,$this->source);})()),"minutes",[],"any",false,false,false,152),'widget');
echo"
</div>";
}
// line 155
if((isset($context["with_seconds"])||array_key_exists("with_seconds",$context)?$context["with_seconds"]:(function(){thrownewRuntimeError('Variable "with_seconds" does not exist.',155,$this->source);})())){
// line 156
echo"<div class=\"col-auto mb-3\">
";
// line 157
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.',157,$this->source);})()),"seconds",[],"any",false,false,false,157),'label');
echo"
";
// line 158
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.',158,$this->source);})()),"seconds",[],"any",false,false,false,158),'widget');
echo"
</div>";
}
// line 161
if((isset($context["with_invert"])||array_key_exists("with_invert",$context)?$context["with_invert"]:(function(){thrownewRuntimeError('Variable "with_invert" does not exist.',161,$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.',161,$this->source);})()),"invert",[],"any",false,false,false,161),'widget');
if((isset($context["symbol"])||array_key_exists("symbol",$context)?$context["symbol"]:(function(){thrownewRuntimeError('Variable "symbol" does not exist.',167,$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.',170,$this->source);})()),"%")):("%")),"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.',178,$this->source);})())!="hidden"))){
// line 179
$context["widget_class"]=" form-control";
// line 180
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.',180,$this->source);})()),"")):(""))=="color")){
// line 181
$context["widget_class"]=((isset($context["widget_class"])||array_key_exists("widget_class",$context)?$context["widget_class"]:(function(){thrownewRuntimeError('Variable "widget_class" does not exist.',181,$this->source);})())." form-control-color");
}elseif((((// line 182
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.',182,$this->source);})()),"")):(""))=="range")){
// line 183
$context["widget_class"]=" form-range";
}
// line 185
$context["attr"]=twig_array_merge((isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',185,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",true,true,false,185))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",false,false,false,185),"")):("")).(isset($context["widget_class"])||array_key_exists("widget_class",$context)?$context["widget_class"]:(function(){thrownewRuntimeError('Variable "widget_class" does not exist.',185,$this->source);})())))]);
}
// line 187
if((array_key_exists("type",$context)&&twig_in_filter((isset($context["type"])||array_key_exists("type",$context)?$context["type"]:(function(){thrownewRuntimeError('Variable "type" does not exist.',187,$this->source);})()),[0=>"range",1=>"color"]))){
if(!(isset($context["valid"])||array_key_exists("valid",$context)?$context["valid"]:(function(){thrownewRuntimeError('Variable "valid" does not exist.',195,$this->source);})())){
// line 196
echo"";
$context["attr"]=twig_array_merge((isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',196,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",true,true,false,196))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",false,false,false,196),"")):(""))." is-invalid"))]);
$context["attr"]=twig_array_merge((isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',202,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",true,true,false,202))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",false,false,false,202),"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.',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),"btn-primary")):("btn-primary")))]);
$context["attr"]=twig_array_merge((isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',212,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",true,true,false,212))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",false,false,false,212),"")):(""))." form-check-input"))]);
// line 213
$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.',213,$this->source);})()),((twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",true,true,false,213))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",false,false,false,213),"")):("")))):(((twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",true,true,false,213))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",false,false,false,213),"")):(""))));
// line 214
$context["row_class"]="form-check";
// line 215
if(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.',215,$this->source);})()))){
$context["row_class"]=((isset($context["row_class"])||array_key_exists("row_class",$context)?$context["row_class"]:(function(){thrownewRuntimeError('Variable "row_class" does not exist.',216,$this->source);})())." form-check-inline");
if(twig_in_filter("checkbox-switch",(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.',218,$this->source);})()))){
$context["row_class"]=((isset($context["row_class"])||array_key_exists("row_class",$context)?$context["row_class"]:(function(){thrownewRuntimeError('Variable "row_class" does not exist.',219,$this->source);})())." form-switch");
echotwig_escape_filter($this->env,(isset($context["row_class"])||array_key_exists("row_class",$context)?$context["row_class"]:(function(){thrownewRuntimeError('Variable "row_class" does not exist.',221,$this->source);})()),"html",null,true);
echo"\">";
// line 222
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.',222,$this->source);})()),'label',["widget"=>$this->renderParentBlock("checkbox_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.',227,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",true,true,false,227))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",false,false,false,227),"")):(""))." form-check-input"))]);
// line 228
$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.',228,$this->source);})()),((twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",true,true,false,228))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",false,false,false,228),"")):("")))):(((twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",true,true,false,228))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",false,false,false,228),"")):(""))));
// line 229
$context["row_class"]="form-check";
// line 230
if(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.',230,$this->source);})()))){
// line 231
$context["row_class"]=((isset($context["row_class"])||array_key_exists("row_class",$context)?$context["row_class"]:(function(){thrownewRuntimeError('Variable "row_class" does not exist.',231,$this->source);})())." form-check-inline");
}
// line 233
echo"<div class=\"";
echotwig_escape_filter($this->env,(isset($context["row_class"])||array_key_exists("row_class",$context)?$context["row_class"]:(function(){thrownewRuntimeError('Variable "row_class" does not exist.',233,$this->source);})()),"html",null,true);
echo"\">";
// line 234
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.',234,$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.',239,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",true,true,false,239))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",false,false,false,239),"")):(""))." form-select"))]);
$context['_seq']=twig_ensure_traversable((isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',245,$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 247
($context["label_attr"]??null),"class",[],"any",true,true,false,247))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",false,false,false,247),"")):("")),"translation_domain"=>// line 248
(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.',248,$this->source);})()),"valid"=>// line 249
(isset($context["valid"])||array_key_exists("valid",$context)?$context["valid"]:(function(){thrownewRuntimeError('Variable "valid" does not exist.',249,$this->source);})())]);
if(!((isset($context["label"])||array_key_exists("label",$context)?$context["label"]:(function(){thrownewRuntimeError('Variable "label" does not exist.',258,$this->source);})())===false)){
// line 259
$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.',259,$this->source);})()),((twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",true,true,false,259))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",false,false,false,259),"")):("")))):(((twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",true,true,false,259))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",false,false,false,259),"")):(""))));
// line 260
if((array_key_exists("compound",$context)&&(isset($context["compound"])||array_key_exists("compound",$context)?$context["compound"]:(function(){thrownewRuntimeError('Variable "compound" does not exist.',260,$this->source);})()))){
// line 261
$context["element"]="legend";
// line 262
if(!twig_in_filter("col-form-label",(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.',262,$this->source);})()))){
// line 263
$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.',263,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",true,true,false,263))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",false,false,false,263),"")):(""))." col-form-label"))]);
}
}else{
// line 266
$context["row_class"]=((array_key_exists("row_class",$context))?(_twig_default_filter((isset($context["row_class"])||array_key_exists("row_class",$context)?$context["row_class"]:(function(){thrownewRuntimeError('Variable "row_class" does not exist.',266,$this->source);})()),((twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",true,true,false,266))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",false,false,false,266),"")):("")))):(((twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",true,true,false,266))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",false,false,false,266),"")):(""))));
// line 267
$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.',267,$this->source);})()),["for"=>(isset($context["id"])||array_key_exists("id",$context)?$context["id"]:(function(){thrownewRuntimeError('Variable "id" does not exist.',267,$this->source);})())]);
// line 268
if(!twig_in_filter("col-form-label",(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.',268,$this->source);})()))){
// line 269
$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.',269,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",true,true,false,269))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",false,false,false,269),"")):("")).((twig_in_filter("input-group",(isset($context["row_class"])||array_key_exists("row_class",$context)?$context["row_class"]:(function(){thrownewRuntimeError('Variable "row_class" does not exist.',269,$this->source);})())))?(" input-group-text"):(" form-label"))))]);
$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.',279,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",true,true,false,279))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",false,false,false,279),"")):(""))." 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"))]);
$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.',287,$this->source);})()),["class"=>twig_trim_filter(twig_replace_filter(((((twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",true,true,false,287))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",false,false,false,287),"")):(""))."").(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.',287,$this->source);})())),["checkbox-inline"=>"","radio-inline"=>""]))]);
}
// line 289
if((!((isset($context["label"])||array_key_exists("label",$context)?$context["label"]:(function(){thrownewRuntimeError('Variable "label" does not exist.',289,$this->source);})())===false)&&twig_test_empty((isset($context["label"])||array_key_exists("label",$context)?$context["label"]:(function(){thrownewRuntimeError('Variable "label" does not exist.',289,$this->source);})())))){
// line 290
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.',290,$this->source);})()))){
// line 291
$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.',291,$this->source);})()),["%name%"=>// line 292
(isset($context["name"])||array_key_exists("name",$context)?$context["name"]:(function(){thrownewRuntimeError('Variable "name" does not exist.',292,$this->source);})()),"%id%"=>// line 293
(isset($context["id"])||array_key_exists("id",$context)?$context["id"]:(function(){thrownewRuntimeError('Variable "id" does not exist.',293,$this->source);})())]);
}else{
// line 296
$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.',296,$this->source);})()));
}
}
// line 300
echo(isset($context["widget"])||array_key_exists("widget",$context)?$context["widget"]:(function(){thrownewRuntimeError('Variable "widget" does not exist.',300,$this->source);})());
echo"
<label";
// line 301
$__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.',301,$this->source);})())];
if(!twig_test_iterable($__internal_compile_5)){
thrownewRuntimeError('Variables passed to the "with" tag must be a hash.',301,$this->getSourceContext());
if(!((isset($context["label"])||array_key_exists("label",$context)?$context["label"]:(function(){thrownewRuntimeError('Variable "label" does not exist.',302,$this->source);})())===false)){
// line 303
if(((isset($context["translation_domain"])||array_key_exists("translation_domain",$context)?$context["translation_domain"]:(function(){thrownewRuntimeError('Variable "translation_domain" does not exist.',303,$this->source);})())===false)){
if((array_key_exists("label_html",$context)&&((isset($context["label_html"])||array_key_exists("label_html",$context)?$context["label_html"]:(function(){thrownewRuntimeError('Variable "label_html" does not exist.',304,$this->source);})())===false))){
echotwig_escape_filter($this->env,(isset($context["label"])||array_key_exists("label",$context)?$context["label"]:(function(){thrownewRuntimeError('Variable "label" does not exist.',305,$this->source);})()),"html",null,true);
}else{
// line 307
echo(isset($context["label"])||array_key_exists("label",$context)?$context["label"]:(function(){thrownewRuntimeError('Variable "label" does not exist.',307,$this->source);})());
if((array_key_exists("label_html",$context)&&((isset($context["label_html"])||array_key_exists("label_html",$context)?$context["label_html"]:(function(){thrownewRuntimeError('Variable "label_html" does not exist.',310,$this->source);})())===false))){
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.',311,$this->source);})()),((array_key_exists("label_translation_parameters",$context))?(_twig_default_filter((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.',311,$this->source);})()),[])):([])),(isset($context["translation_domain"])||array_key_exists("translation_domain",$context)?$context["translation_domain"]:(function(){thrownewRuntimeError('Variable "translation_domain" does not exist.',311,$this->source);})())),"html",null,true);
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.',313,$this->source);})()),((array_key_exists("label_translation_parameters",$context))?(_twig_default_filter((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.',313,$this->source);})()),[])):([])),(isset($context["translation_domain"])||array_key_exists("translation_domain",$context)?$context["translation_domain"]:(function(){thrownewRuntimeError('Variable "translation_domain" does not exist.',313,$this->source);})()));
if((array_key_exists("compound",$context)&&(isset($context["compound"])||array_key_exists("compound",$context)?$context["compound"]:(function(){thrownewRuntimeError('Variable "compound" does not exist.',324,$this->source);})()))){
// line 325
$context["element"]="fieldset";
}
// line 327
$context["widget_attr"]=[];
// line 328
if(!twig_test_empty((isset($context["help"])||array_key_exists("help",$context)?$context["help"]:(function(){thrownewRuntimeError('Variable "help" does not exist.',328,$this->source);})()))){
// line 329
$context["widget_attr"]=["attr"=>["aria-describedby"=>((isset($context["id"])||array_key_exists("id",$context)?$context["id"]:(function(){thrownewRuntimeError('Variable "id" does not exist.',329,$this->source);})())."_help")]];
}
// line 331
$context["row_class"]=((array_key_exists("row_class",$context))?(_twig_default_filter((isset($context["row_class"])||array_key_exists("row_class",$context)?$context["row_class"]:(function(){thrownewRuntimeError('Variable "row_class" does not exist.',331,$this->source);})()),twig_trim_filter(((twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",true,true,false,331))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",false,false,false,331),"mb-3")):("mb-3"))))):(twig_trim_filter(((twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",true,true,false,331))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",false,false,false,331),"mb-3")):("mb-3")))));
// line 332
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.',332,$this->source);})()),"div")):("div")),"html",null,true);
$__internal_compile_6=$context;
$__internal_compile_7=["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.',332,$this->source);})()),["class"=>(isset($context["row_class"])||array_key_exists("row_class",$context)?$context["row_class"]:(function(){thrownewRuntimeError('Variable "row_class" does not exist.',332,$this->source);})())])];
if(!twig_test_iterable($__internal_compile_7)){
thrownewRuntimeError('Variables passed to the "with" tag must be a hash.',332,$this->getSourceContext());
if(twig_in_filter("form-floating",(isset($context["row_class"])||array_key_exists("row_class",$context)?$context["row_class"]:(function(){thrownewRuntimeError('Variable "row_class" does not exist.',333,$this->source);})()))){
// line 334
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.',334,$this->source);})()),'widget',(isset($context["widget_attr"])||array_key_exists("widget_attr",$context)?$context["widget_attr"]:(function(){thrownewRuntimeError('Variable "widget_attr" does not exist.',334,$this->source);})()));
// line 335
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.',335,$this->source);})()),'label');
}else{
// line 337
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.',337,$this->source);})()),'label');
// line 338
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.',338,$this->source);})()),'widget',(isset($context["widget_attr"])||array_key_exists("widget_attr",$context)?$context["widget_attr"]:(function(){thrownewRuntimeError('Variable "widget_attr" does not exist.',338,$this->source);})()));
}
// line 340
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.',340,$this->source);})()),'help');
// line 341
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.',341,$this->source);})()),'errors');
// line 342
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.',342,$this->source);})()),"div")):("div")),"html",null,true);
$__internal_compile_9=["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.',346,$this->source);})()),["class"=>twig_trim_filter(((twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",true,true,false,346))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",false,false,false,346),"mb-3")):("mb-3")))])];
if(!twig_test_iterable($__internal_compile_9)){
thrownewRuntimeError('Variables passed to the "with" tag must be a hash.',346,$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.',347,$this->source);})()),'widget');
if((twig_length_filter($this->env,(isset($context["errors"])||array_key_exists("errors",$context)?$context["errors"]:(function(){thrownewRuntimeError('Variable "errors" does not exist.',354,$this->source);})()))>0)){
// line 355
$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.',355,$this->source);})()));
if(twig_in_filter("input-group",(isset($context["row_class"])||array_key_exists("row_class",$context)?$context["row_class"]:(function(){thrownewRuntimeError('Variable "row_class" does not exist.',366,$this->source);})()))){
// line 368
$context["help_class"]=" input-group-text";
// line 369
echo"";
}
// line 370
if(!twig_test_empty((isset($context["help"])||array_key_exists("help",$context)?$context["help"]:(function(){thrownewRuntimeError('Variable "help" does not exist.',370,$this->source);})()))){
// line 371
$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.',371,$this->source);})()),["class"=>twig_trim_filter(((((twig_get_attribute($this->env,$this->source,($context["help_attr"]??null),"class",[],"any",true,true,false,371))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["help_attr"]??null),"class",[],"any",false,false,false,371),"")):("")).(isset($context["help_class"])||array_key_exists("help_class",$context)?$context["help_class"]:(function(){thrownewRuntimeError('Variable "help_class" does not exist.',371,$this->source);})()))." mb-0"))]);