if(((isset($context["label"])||array_key_exists("label",$context)?$context["label"]:(function(){thrownewRuntimeError('Variable "label" does not exist.',6,$this->source);})())===false)){
$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.',9,$this->source);})()),((twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",true,true,false,9))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",false,false,false,9),"")):("")))):(((twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",true,true,false,9))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",false,false,false,9),"")):(""))));
// line 10
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.',10,$this->source);})()))&&!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.',10,$this->source);})())))){
// line 11
if((!array_key_exists("expanded",$context)||!(isset($context["expanded"])||array_key_exists("expanded",$context)?$context["expanded"]:(function(){thrownewRuntimeError('Variable "expanded" does not exist.',11,$this->source);})()))){
// line 12
$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.',12,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",true,true,false,12))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",false,false,false,12),"")):(""))." col-form-label"))]);
}
// line 14
$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.',14,$this->source);})()),["class"=>twig_trim_filter(((((twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",true,true,false,14))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",false,false,false,14),"")):(""))."").$this->renderBlock("form_label_class",$context,$blocks)))]);
if((array_key_exists("expanded",$context)&&(isset($context["expanded"])||array_key_exists("expanded",$context)?$context["expanded"]:(function(){thrownewRuntimeError('Variable "expanded" does not exist.',27,$this->source);})()))){
if(!twig_test_empty((isset($context["help"])||array_key_exists("help",$context)?$context["help"]:(function(){thrownewRuntimeError('Variable "help" does not exist.',31,$this->source);})()))){
// line 32
$context["widget_attr"]=["attr"=>["aria-describedby"=>((isset($context["id"])||array_key_exists("id",$context)?$context["id"]:(function(){thrownewRuntimeError('Variable "id" does not exist.',32,$this->source);})())."_help")]];
}
// line 34
$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.',34,$this->source);})()),((twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",true,true,false,34))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",false,false,false,34),"mb-3")):("mb-3")))):(((twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",true,true,false,34))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",false,false,false,34),"mb-3")):("mb-3"))));
// line 35
$context["is_form_floating"]=((array_key_exists("is_form_floating",$context))?(_twig_default_filter((isset($context["is_form_floating"])||array_key_exists("is_form_floating",$context)?$context["is_form_floating"]:(function(){thrownewRuntimeError('Variable "is_form_floating" does not exist.',35,$this->source);})()),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.',35,$this->source);})())))):(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.',35,$this->source);})()))));
// line 36
$context["is_input_group"]=((array_key_exists("is_input_group",$context))?(_twig_default_filter((isset($context["is_input_group"])||array_key_exists("is_input_group",$context)?$context["is_input_group"]:(function(){thrownewRuntimeError('Variable "is_input_group" does not exist.',36,$this->source);})()),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.',36,$this->source);})())))):(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.',36,$this->source);})()))));
// line 38
$context["row_class"]=twig_replace_filter((isset($context["row_class"])||array_key_exists("row_class",$context)?$context["row_class"]:(function(){thrownewRuntimeError('Variable "row_class" does not exist.',38,$this->source);})()),["form-floating"=>"","input-group"=>""]);
// line 39
echo"<div";
$__internal_compile_0=$context;
$__internal_compile_1=["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.',39,$this->source);})()),["class"=>twig_trim_filter((((isset($context["row_class"])||array_key_exists("row_class",$context)?$context["row_class"]:(function(){thrownewRuntimeError('Variable "row_class" does not exist.',39,$this->source);})())." row").((((!(isset($context["compound"])||array_key_exists("compound",$context)?$context["compound"]:(function(){thrownewRuntimeError('Variable "compound" does not exist.',39,$this->source);})())||((array_key_exists("force_error",$context))?(_twig_default_filter((isset($context["force_error"])||array_key_exists("force_error",$context)?$context["force_error"]:(function(){thrownewRuntimeError('Variable "force_error" does not exist.',39,$this->source);})()),false)):(false)))&&!(isset($context["valid"])||array_key_exists("valid",$context)?$context["valid"]:(function(){thrownewRuntimeError('Variable "valid" does not exist.',39,$this->source);})())))?(" is-invalid"):(""))))])];
if(!twig_test_iterable($__internal_compile_1)){
thrownewRuntimeError('Variables passed to the "with" tag must be a hash.',39,$this->getSourceContext());
if(((isset($context["is_form_floating"])||array_key_exists("is_form_floating",$context)?$context["is_form_floating"]:(function(){thrownewRuntimeError('Variable "is_form_floating" does not exist.',40,$this->source);})())||(isset($context["is_input_group"])||array_key_exists("is_input_group",$context)?$context["is_input_group"]:(function(){thrownewRuntimeError('Variable "is_input_group" does not exist.',40,$this->source);})()))){
if((isset($context["is_form_floating"])||array_key_exists("is_form_floating",$context)?$context["is_form_floating"]:(function(){thrownewRuntimeError('Variable "is_form_floating" does not exist.',43,$this->source);})())){
// line 44
echo"<div class=\"form-floating\">";
// line 45
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.',45,$this->source);})()),'widget',(isset($context["widget_attr"])||array_key_exists("widget_attr",$context)?$context["widget_attr"]:(function(){thrownewRuntimeError('Variable "widget_attr" does not exist.',45,$this->source);})()));
// line 46
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.',46,$this->source);})()),'label');
// line 47
echo"</div>";
}elseif(// line 48
(isset($context["is_input_group"])||array_key_exists("is_input_group",$context)?$context["is_input_group"]:(function(){thrownewRuntimeError('Variable "is_input_group" does not exist.',48,$this->source);})())){
// line 49
echo"<div class=\"input-group\">";
// line 50
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.',50,$this->source);})()),'label');
// line 51
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.',51,$this->source);})()),'widget',(isset($context["widget_attr"])||array_key_exists("widget_attr",$context)?$context["widget_attr"]:(function(){thrownewRuntimeError('Variable "widget_attr" does not exist.',51,$this->source);})()));
// line 53
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.',53,$this->source);})()),'help');
// line 54
echo"</div>";
}
// line 56
if(!(isset($context["is_input_group"])||array_key_exists("is_input_group",$context)?$context["is_input_group"]:(function(){thrownewRuntimeError('Variable "is_input_group" does not exist.',56,$this->source);})())){
// line 57
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.',57,$this->source);})()),'help');
}
// line 59
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.',59,$this->source);})()),'errors');
// line 60
echo"</div>";
}else{
// line 62
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.',62,$this->source);})()),'label');
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.',64,$this->source);})()),'widget',(isset($context["widget_attr"])||array_key_exists("widget_attr",$context)?$context["widget_attr"]:(function(){thrownewRuntimeError('Variable "widget_attr" does not exist.',64,$this->source);})()));
// line 65
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.',65,$this->source);})()),'help');
// line 66
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.',66,$this->source);})()),'errors');
if(!twig_test_empty((isset($context["help"])||array_key_exists("help",$context)?$context["help"]:(function(){thrownewRuntimeError('Variable "help" does not exist.',75,$this->source);})()))){
// line 76
$context["widget_attr"]=["attr"=>["aria-describedby"=>((isset($context["id"])||array_key_exists("id",$context)?$context["id"]:(function(){thrownewRuntimeError('Variable "id" does not exist.',76,$this->source);})())."_help")]];
}
// line 78
echo"<fieldset";
$__internal_compile_2=$context;
$__internal_compile_3=["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.',78,$this->source);})()),["class"=>twig_trim_filter(((twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",true,true,false,78))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",false,false,false,78),"mb-3")):("mb-3")))])];
if(!twig_test_iterable($__internal_compile_3)){
thrownewRuntimeError('Variables passed to the "with" tag must be a hash.',78,$this->getSourceContext());
if(((!(isset($context["compound"])||array_key_exists("compound",$context)?$context["compound"]:(function(){thrownewRuntimeError('Variable "compound" does not exist.',79,$this->source);})())||((array_key_exists("force_error",$context))?(_twig_default_filter((isset($context["force_error"])||array_key_exists("force_error",$context)?$context["force_error"]:(function(){thrownewRuntimeError('Variable "force_error" does not exist.',79,$this->source);})()),false)):(false)))&&!(isset($context["valid"])||array_key_exists("valid",$context)?$context["valid"]:(function(){thrownewRuntimeError('Variable "valid" does not exist.',79,$this->source);})()))){
echo" is-invalid";
}
echo"\">";
// line 80
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.',80,$this->source);})()),'label');
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.',82,$this->source);})()),'widget',(isset($context["widget_attr"])||array_key_exists("widget_attr",$context)?$context["widget_attr"]:(function(){thrownewRuntimeError('Variable "widget_attr" does not exist.',82,$this->source);})()));
// line 83
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.',83,$this->source);})()),'help');
// line 84
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.',84,$this->source);})()),'errors');
$__internal_compile_5=["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.',91,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",true,true,false,91))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",false,false,false,91),"mb-3")):("mb-3"))." row"))])];
if(!twig_test_iterable($__internal_compile_5)){
thrownewRuntimeError('Variables passed to the "with" tag must be a hash.',91,$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.',94,$this->source);})()),'widget');
$__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.',100,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",true,true,false,100))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",false,false,false,100),"mb-3")):("mb-3"))." row"))])];
if(!twig_test_iterable($__internal_compile_7)){
thrownewRuntimeError('Variables passed to the "with" tag must be a hash.',100,$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.',103,$this->source);})()),'widget');
$__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.',109,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",true,true,false,109))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",false,false,false,109),"mb-3")):("mb-3"))." row"))])];
if(!twig_test_iterable($__internal_compile_9)){
thrownewRuntimeError('Variables passed to the "with" tag must be a hash.',109,$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.',112,$this->source);})()),'widget');
$__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.',118,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",true,true,false,118))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",false,false,false,118),"mb-3")):("mb-3"))." row"))])];
if(!twig_test_iterable($__internal_compile_11)){
thrownewRuntimeError('Variables passed to the "with" tag must be a hash.',118,$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.',121,$this->source);})()),'widget');
// line 122
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.',122,$this->source);})()),'help');
// line 123
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.',123,$this->source);})()),'errors');