if(((isset($context["label"])||array_key_exists("label",$context)?$context["label"]:(function(){thrownewRuntimeError('Variable "label" does not exist.',6,$this->source);})())===false)){
if((!array_key_exists("expanded",$context)||!(isset($context["expanded"])||array_key_exists("expanded",$context)?$context["expanded"]:(function(){thrownewRuntimeError('Variable "expanded" does not exist.',9,$this->source);})()))){
// line 10
$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.',10,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",true,true,false,10))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",false,false,false,10),"")):(""))." col-form-label"))]);
}
// 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),"")):(""))."").$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.',24,$this->source);})()))){
if(!twig_test_empty((isset($context["help"])||array_key_exists("help",$context)?$context["help"]:(function(){thrownewRuntimeError('Variable "help" does not exist.',28,$this->source);})()))){
// line 29
$context["widget_attr"]=["attr"=>["aria-describedby"=>((isset($context["id"])||array_key_exists("id",$context)?$context["id"]:(function(){thrownewRuntimeError('Variable "id" does not exist.',29,$this->source);})())."_help")]];
}
// line 31
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.',31,$this->source);})()),["class"=>twig_trim_filter(((((twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",true,true,false,31))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",false,false,false,31),"")):(""))." form-group row").((((!(isset($context["compound"])||array_key_exists("compound",$context)?$context["compound"]:(function(){thrownewRuntimeError('Variable "compound" does not exist.',31,$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.',31,$this->source);})()),false)):(false)))&&!(isset($context["valid"])||array_key_exists("valid",$context)?$context["valid"]:(function(){thrownewRuntimeError('Variable "valid" does not exist.',31,$this->source);})())))?(" is-invalid"):(""))))])];
if(!twig_test_iterable($__internal_compile_1)){
thrownewRuntimeError('Variables passed to the "with" tag must be a hash.',31,$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.',32,$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.',34,$this->source);})()),'widget',(isset($context["widget_attr"])||array_key_exists("widget_attr",$context)?$context["widget_attr"]:(function(){thrownewRuntimeError('Variable "widget_attr" does not exist.',34,$this->source);})()));
// line 35
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.',35,$this->source);})()),'help');
if(!twig_test_empty((isset($context["help"])||array_key_exists("help",$context)?$context["help"]:(function(){thrownewRuntimeError('Variable "help" does not exist.',43,$this->source);})()))){
// line 44
$context["widget_attr"]=["attr"=>["aria-describedby"=>((isset($context["id"])||array_key_exists("id",$context)?$context["id"]:(function(){thrownewRuntimeError('Variable "id" does not exist.',44,$this->source);})())."_help")]];
}
// line 46
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.',46,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",true,true,false,46))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",false,false,false,46),"")):(""))." form-group"))])];
if(!twig_test_iterable($__internal_compile_3)){
thrownewRuntimeError('Variables passed to the "with" tag must be a hash.',46,$this->getSourceContext());
if(((!(isset($context["compound"])||array_key_exists("compound",$context)?$context["compound"]:(function(){thrownewRuntimeError('Variable "compound" does not exist.',47,$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.',47,$this->source);})()),false)):(false)))&&!(isset($context["valid"])||array_key_exists("valid",$context)?$context["valid"]:(function(){thrownewRuntimeError('Variable "valid" does not exist.',47,$this->source);})()))){
echo" is-invalid";
}
echo"\">";
// line 48
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.',48,$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.',50,$this->source);})()),'widget',(isset($context["widget_attr"])||array_key_exists("widget_attr",$context)?$context["widget_attr"]:(function(){thrownewRuntimeError('Variable "widget_attr" does not exist.',50,$this->source);})()));
// 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);})()),'help');
// line 52
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.',52,$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.',59,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",true,true,false,59))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",false,false,false,59),"")):(""))." form-group row"))])];
if(!twig_test_iterable($__internal_compile_5)){
thrownewRuntimeError('Variables passed to the "with" tag must be a hash.',59,$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.',62,$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.',68,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",true,true,false,68))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",false,false,false,68),"")):(""))." form-group row"))])];
if(!twig_test_iterable($__internal_compile_7)){
thrownewRuntimeError('Variables passed to the "with" tag must be a hash.',68,$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.',71,$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.',81,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",true,true,false,81))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",false,false,false,81),"")):(""))." form-group row"))])];
if(!twig_test_iterable($__internal_compile_9)){
thrownewRuntimeError('Variables passed to the "with" tag must be a hash.',81,$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.',84,$this->source);})()),'widget');
// line 85
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.',85,$this->source);})()),'help');