$context["attr"]=twig_array_merge((isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',4,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",true,true,false,4))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",false,false,false,4),"")):(""))." form-horizontal"))]);
if(((isset($context["label"])||array_key_exists("label",$context)?$context["label"]:(function(){thrownewRuntimeError('Variable "label" does not exist.',11,$this->source);})())===false)){
$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(!twig_test_empty((isset($context["help"])||array_key_exists("help",$context)?$context["help"]:(function(){thrownewRuntimeError('Variable "help" does not exist.',27,$this->source);})()))){
// line 28
$context["widget_attr"]=["attr"=>["aria-describedby"=>((isset($context["id"])||array_key_exists("id",$context)?$context["id"]:(function(){thrownewRuntimeError('Variable "id" does not exist.',28,$this->source);})())."_help")]];
}
// line 30
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.',30,$this->source);})()),["class"=>twig_trim_filter(((((twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",true,true,false,30))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",false,false,false,30),"")):(""))." form-group").((((!(isset($context["compound"])||array_key_exists("compound",$context)?$context["compound"]:(function(){thrownewRuntimeError('Variable "compound" does not exist.',30,$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.',30,$this->source);})()),false)):(false)))&&!(isset($context["valid"])||array_key_exists("valid",$context)?$context["valid"]:(function(){thrownewRuntimeError('Variable "valid" does not exist.',30,$this->source);})())))?(" has-error"):(""))))])];
if(!twig_test_iterable($__internal_compile_1)){
thrownewRuntimeError('Variables passed to the "with" tag must be a hash.',30,$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.',31,$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.',33,$this->source);})()),'widget',(isset($context["widget_attr"])||array_key_exists("widget_attr",$context)?$context["widget_attr"]:(function(){thrownewRuntimeError('Variable "widget_attr" does not exist.',33,$this->source);})()));
// line 34
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);})()),'help');
// 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);})()),'errors');
$__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.',41,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",true,true,false,41))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",false,false,false,41),"")):(""))." form-group"))])];
if(!twig_test_iterable($__internal_compile_3)){
thrownewRuntimeError('Variables passed to the "with" tag must be a hash.',41,$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.',44,$this->source);})()),'widget');
$__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.',50,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",true,true,false,50))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",false,false,false,50),"")):(""))." form-group"))])];
if(!twig_test_iterable($__internal_compile_5)){
thrownewRuntimeError('Variables passed to the "with" tag must be a hash.',50,$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.',53,$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.',63,$this->source);})()),["class"=>twig_trim_filter(((((twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",true,true,false,63))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",false,false,false,63),"")):(""))." form-group").((!(isset($context["valid"])||array_key_exists("valid",$context)?$context["valid"]:(function(){thrownewRuntimeError('Variable "valid" does not exist.',63,$this->source);})()))?(" has-error"):(""))))])];
if(!twig_test_iterable($__internal_compile_7)){
thrownewRuntimeError('Variables passed to the "with" tag must be a hash.',63,$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.',66,$this->source);})()),'widget');
// line 67
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.',67,$this->source);})()),'help');
// line 68
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.',68,$this->source);})()),'errors');