if((isset($context["compound"])||array_key_exists("compound",$context)?$context["compound"]:(function(){thrownewRuntimeError('Variable "compound" does not exist.',4,$this->source);})())){
$context["type"]=((array_key_exists("type",$context))?(_twig_default_filter((isset($context["type"])||array_key_exists("type",$context)?$context["type"]:(function(){thrownewRuntimeError('Variable "type" does not exist.',12,$this->source);})()),"text")):("text"));
// line 13
if((((isset($context["type"])||array_key_exists("type",$context)?$context["type"]:(function(){thrownewRuntimeError('Variable "type" does not exist.',13,$this->source);})())=="range")||((isset($context["type"])||array_key_exists("type",$context)?$context["type"]:(function(){thrownewRuntimeError('Variable "type" does not exist.',13,$this->source);})())=="color"))){
// line 15
$context["required"]=false;
}
// line 17
echo"<input type=\"";
echotwig_escape_filter($this->env,(isset($context["type"])||array_key_exists("type",$context)?$context["type"]:(function(){thrownewRuntimeError('Variable "type" does not exist.',17,$this->source);})()),"html",null,true);
if(!twig_test_empty((isset($context["value"])||array_key_exists("value",$context)?$context["value"]:(function(){thrownewRuntimeError('Variable "value" does not exist.',17,$this->source);})()))){
echo"value=\"";
echotwig_escape_filter($this->env,(isset($context["value"])||array_key_exists("value",$context)?$context["value"]:(function(){thrownewRuntimeError('Variable "value" does not exist.',17,$this->source);})()),"html",null,true);
if(Symfony\Bridge\Twig\Extension\twig_is_root_form((isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',22,$this->source);})()))){
// line 23
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.',23,$this->source);})()),'errors');
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',26,$this->source);})()),'rest');
if((array_key_exists("prototype",$context)&&!twig_get_attribute($this->env,$this->source,(isset($context["prototype"])||array_key_exists("prototype",$context)?$context["prototype"]:(function(){thrownewRuntimeError('Variable "prototype" does not exist.',31,$this->source);})()),"rendered",[],"any",false,false,false,31))){
// line 32
$context["attr"]=twig_array_merge((isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',32,$this->source);})()),["data-prototype"=>$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["prototype"])||array_key_exists("prototype",$context)?$context["prototype"]:(function(){thrownewRuntimeError('Variable "prototype" does not exist.',32,$this->source);})()),'row')]);
echotwig_escape_filter($this->env,(isset($context["value"])||array_key_exists("value",$context)?$context["value"]:(function(){thrownewRuntimeError('Variable "value" does not exist.',38,$this->source);})()),"html",null,true);
if((isset($context["expanded"])||array_key_exists("expanded",$context)?$context["expanded"]:(function(){thrownewRuntimeError('Variable "expanded" does not exist.',42,$this->source);})())){
$context['_seq']=twig_ensure_traversable((isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',51,$this->source);})()));
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["child"],'label',["translation_domain"=>(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.',53,$this->source);})())]);
if((((((isset($context["required"])||array_key_exists("required",$context)?$context["required"]:(function(){thrownewRuntimeError('Variable "required" does not exist.',59,$this->source);})())&&(null===(isset($context["placeholder"])||array_key_exists("placeholder",$context)?$context["placeholder"]:(function(){thrownewRuntimeError('Variable "placeholder" does not exist.',59,$this->source);})())))&&!(isset($context["placeholder_in_choices"])||array_key_exists("placeholder_in_choices",$context)?$context["placeholder_in_choices"]:(function(){thrownewRuntimeError('Variable "placeholder_in_choices" does not exist.',59,$this->source);})()))&&!(isset($context["multiple"])||array_key_exists("multiple",$context)?$context["multiple"]:(function(){thrownewRuntimeError('Variable "multiple" does not exist.',59,$this->source);})()))&&(!twig_get_attribute($this->env,$this->source,($context["attr"]??null),"size",[],"any",true,true,false,59)||(twig_get_attribute($this->env,$this->source,(isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',59,$this->source);})()),"size",[],"any",false,false,false,59)<=1)))){
if((isset($context["multiple"])||array_key_exists("multiple",$context)?$context["multiple"]:(function(){thrownewRuntimeError('Variable "multiple" does not exist.',62,$this->source);})())){
echo" multiple=\"multiple\"";
}
echo">";
// line 63
if(!(null===(isset($context["placeholder"])||array_key_exists("placeholder",$context)?$context["placeholder"]:(function(){thrownewRuntimeError('Variable "placeholder" does not exist.',63,$this->source);})()))){
// line 64
echo"<option value=\"\"";
if(((isset($context["required"])||array_key_exists("required",$context)?$context["required"]:(function(){thrownewRuntimeError('Variable "required" does not exist.',64,$this->source);})())&&twig_test_empty((isset($context["value"])||array_key_exists("value",$context)?$context["value"]:(function(){thrownewRuntimeError('Variable "value" does not exist.',64,$this->source);})())))){
echo" selected=\"selected\"";
}
echo">";
((((isset($context["placeholder"])||array_key_exists("placeholder",$context)?$context["placeholder"]:(function(){thrownewRuntimeError('Variable "placeholder" does not exist.',64,$this->source);})())!=""))?(print(twig_escape_filter($this->env,((((isset($context["translation_domain"])||array_key_exists("translation_domain",$context)?$context["translation_domain"]:(function(){thrownewRuntimeError('Variable "translation_domain" does not exist.',64,$this->source);})())===false))?((isset($context["placeholder"])||array_key_exists("placeholder",$context)?$context["placeholder"]:(function(){thrownewRuntimeError('Variable "placeholder" does not exist.',64,$this->source);})())):($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((isset($context["placeholder"])||array_key_exists("placeholder",$context)?$context["placeholder"]:(function(){thrownewRuntimeError('Variable "placeholder" does not exist.',64,$this->source);})()),[],(isset($context["translation_domain"])||array_key_exists("translation_domain",$context)?$context["translation_domain"]:(function(){thrownewRuntimeError('Variable "translation_domain" does not exist.',64,$this->source);})())))),"html",null,true))):(print("")));
echo"</option>";
}
// line 66
if((twig_length_filter($this->env,(isset($context["preferred_choices"])||array_key_exists("preferred_choices",$context)?$context["preferred_choices"]:(function(){thrownewRuntimeError('Variable "preferred_choices" does not exist.',66,$this->source);})()))>0)){
// line 67
$context["options"]=(isset($context["preferred_choices"])||array_key_exists("preferred_choices",$context)?$context["preferred_choices"]:(function(){thrownewRuntimeError('Variable "preferred_choices" does not exist.',67,$this->source);})());
if(((twig_length_filter($this->env,(isset($context["choices"])||array_key_exists("choices",$context)?$context["choices"]:(function(){thrownewRuntimeError('Variable "choices" does not exist.',70,$this->source);})()))>0)&&!(null===(isset($context["separator"])||array_key_exists("separator",$context)?$context["separator"]:(function(){thrownewRuntimeError('Variable "separator" does not exist.',70,$this->source);})())))){
// line 71
echo"<option disabled=\"disabled\">";
echotwig_escape_filter($this->env,(isset($context["separator"])||array_key_exists("separator",$context)?$context["separator"]:(function(){thrownewRuntimeError('Variable "separator" does not exist.',71,$this->source);})()),"html",null,true);
echo"</option>";
}
}
// line 74
$context["options"]=(isset($context["choices"])||array_key_exists("choices",$context)?$context["choices"]:(function(){thrownewRuntimeError('Variable "choices" does not exist.',74,$this->source);})());
$context['_seq']=twig_ensure_traversable((isset($context["options"])||array_key_exists("options",$context)?$context["options"]:(function(){thrownewRuntimeError('Variable "options" does not exist.',81,$this->source);})()));
echotwig_escape_filter($this->env,((((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.',83,$this->source);})())===false))?($context["group_label"]):($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["group_label"],[],(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.',83,$this->source);})())))),"html",null,true);
if((!((array_key_exists("render_preferred_choices",$context))?(_twig_default_filter((isset($context["render_preferred_choices"])||array_key_exists("render_preferred_choices",$context)?$context["render_preferred_choices"]:(function(){thrownewRuntimeError('Variable "render_preferred_choices" does not exist.',88,$this->source);})()),false)):(false))&&Symfony\Bridge\Twig\Extension\twig_is_selected_choice($context["choice"],(isset($context["value"])||array_key_exists("value",$context)?$context["value"]:(function(){thrownewRuntimeError('Variable "value" does not exist.',88,$this->source);})())))){
echotwig_escape_filter($this->env,((((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.',88,$this->source);})())===false))?(twig_get_attribute($this->env,$this->source,$context["choice"],"label",[],"any",false,false,false,88)):($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env,$this->source,$context["choice"],"label",[],"any",false,false,false,88),((twig_get_attribute($this->env,$this->source,$context["choice"],"labelTranslationParameters",[],"any",true,true,false,88))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,$context["choice"],"labelTranslationParameters",[],"any",false,false,false,88),[])):([])),(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.',88,$this->source);})())))),"html",null,true);
echotwig_escape_filter($this->env,(isset($context["value"])||array_key_exists("value",$context)?$context["value"]:(function(){thrownewRuntimeError('Variable "value" does not exist.',94,$this->source);})()),"html",null,true);
echo"\"";
}
if((isset($context["checked"])||array_key_exists("checked",$context)?$context["checked"]:(function(){thrownewRuntimeError('Variable "checked" does not exist.',94,$this->source);})())){
echotwig_escape_filter($this->env,(isset($context["value"])||array_key_exists("value",$context)?$context["value"]:(function(){thrownewRuntimeError('Variable "value" does not exist.',98,$this->source);})()),"html",null,true);
echo"\"";
}
if((isset($context["checked"])||array_key_exists("checked",$context)?$context["checked"]:(function(){thrownewRuntimeError('Variable "checked" does not exist.',98,$this->source);})())){
if(((isset($context["widget"])||array_key_exists("widget",$context)?$context["widget"]:(function(){thrownewRuntimeError('Variable "widget" does not exist.',102,$this->source);})())=="single_text")){
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.',106,$this->source);})()),"date",[],"any",false,false,false,106),'errors');
// line 107
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.',107,$this->source);})()),"time",[],"any",false,false,false,107),'errors');
// line 108
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.',108,$this->source);})()),"date",[],"any",false,false,false,108),'widget');
// line 109
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.',109,$this->source);})()),"time",[],"any",false,false,false,109),'widget');
if(((isset($context["widget"])||array_key_exists("widget",$context)?$context["widget"]:(function(){thrownewRuntimeError('Variable "widget" does not exist.',115,$this->source);})())=="single_text")){
echotwig_replace_filter((isset($context["date_pattern"])||array_key_exists("date_pattern",$context)?$context["date_pattern"]:(function(){thrownewRuntimeError('Variable "date_pattern" does not exist.',119,$this->source);})()),["{{ year }}"=>// line 120
$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.',120,$this->source);})()),"year",[],"any",false,false,false,120),'widget'),"{{ month }}"=>// line 121
$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);})()),"month",[],"any",false,false,false,121),'widget'),"{{ day }}"=>// line 122
$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);})()),"day",[],"any",false,false,false,122),'widget')]);
if(((isset($context["widget"])||array_key_exists("widget",$context)?$context["widget"]:(function(){thrownewRuntimeError('Variable "widget" does not exist.',129,$this->source);})())=="single_text")){
$context["vars"]=((((isset($context["widget"])||array_key_exists("widget",$context)?$context["widget"]:(function(){thrownewRuntimeError('Variable "widget" does not exist.',132,$this->source);})())=="text"))?(["attr"=>["size"=>1]]):([]));
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);})()),"hour",[],"any",false,false,false,134),'widget',(isset($context["vars"])||array_key_exists("vars",$context)?$context["vars"]:(function(){thrownewRuntimeError('Variable "vars" does not exist.',134,$this->source);})()));
if((isset($context["with_minutes"])||array_key_exists("with_minutes",$context)?$context["with_minutes"]:(function(){thrownewRuntimeError('Variable "with_minutes" does not exist.',134,$this->source);})())){
echo":";
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);})()),"minute",[],"any",false,false,false,134),'widget',(isset($context["vars"])||array_key_exists("vars",$context)?$context["vars"]:(function(){thrownewRuntimeError('Variable "vars" does not exist.',134,$this->source);})()));
}
if((isset($context["with_seconds"])||array_key_exists("with_seconds",$context)?$context["with_seconds"]:(function(){thrownewRuntimeError('Variable "with_seconds" does not exist.',134,$this->source);})())){
echo":";
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);})()),"second",[],"any",false,false,false,134),'widget',(isset($context["vars"])||array_key_exists("vars",$context)?$context["vars"]:(function(){thrownewRuntimeError('Variable "vars" does not exist.',134,$this->source);})()));
if(((isset($context["widget"])||array_key_exists("widget",$context)?$context["widget"]:(function(){thrownewRuntimeError('Variable "widget" does not exist.',140,$this->source);})())=="single_text")){
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.',144,$this->source);})()),'errors');
// line 145
echo"<table class=\"";
echotwig_escape_filter($this->env,((array_key_exists("table_class",$context))?(_twig_default_filter((isset($context["table_class"])||array_key_exists("table_class",$context)?$context["table_class"]:(function(){thrownewRuntimeError('Variable "table_class" does not exist.',145,$this->source);})()),"")):("")),"html",null,true);
if((isset($context["with_years"])||array_key_exists("with_years",$context)?$context["with_years"]:(function(){thrownewRuntimeError('Variable "with_years" does not exist.',148,$this->source);})())){
echo"<th>";
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.',148,$this->source);})()),"years",[],"any",false,false,false,148),'label');
echo"</th>";
}
// line 149
if((isset($context["with_months"])||array_key_exists("with_months",$context)?$context["with_months"]:(function(){thrownewRuntimeError('Variable "with_months" does not exist.',149,$this->source);})())){
echo"<th>";
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.',149,$this->source);})()),"months",[],"any",false,false,false,149),'label');
echo"</th>";
}
// line 150
if((isset($context["with_weeks"])||array_key_exists("with_weeks",$context)?$context["with_weeks"]:(function(){thrownewRuntimeError('Variable "with_weeks" does not exist.',150,$this->source);})())){
echo"<th>";
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.',150,$this->source);})()),"weeks",[],"any",false,false,false,150),'label');
echo"</th>";
}
// line 151
if((isset($context["with_days"])||array_key_exists("with_days",$context)?$context["with_days"]:(function(){thrownewRuntimeError('Variable "with_days" does not exist.',151,$this->source);})())){
echo"<th>";
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);})()),"days",[],"any",false,false,false,151),'label');
echo"</th>";
}
// line 152
if((isset($context["with_hours"])||array_key_exists("with_hours",$context)?$context["with_hours"]:(function(){thrownewRuntimeError('Variable "with_hours" does not exist.',152,$this->source);})())){
echo"<th>";
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);})()),"hours",[],"any",false,false,false,152),'label');
echo"</th>";
}
// line 153
if((isset($context["with_minutes"])||array_key_exists("with_minutes",$context)?$context["with_minutes"]:(function(){thrownewRuntimeError('Variable "with_minutes" does not exist.',153,$this->source);})())){
echo"<th>";
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.',153,$this->source);})()),"minutes",[],"any",false,false,false,153),'label');
echo"</th>";
}
// line 154
if((isset($context["with_seconds"])||array_key_exists("with_seconds",$context)?$context["with_seconds"]:(function(){thrownewRuntimeError('Variable "with_seconds" does not exist.',154,$this->source);})())){
echo"<th>";
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.',154,$this->source);})()),"seconds",[],"any",false,false,false,154),'label');
if((isset($context["with_years"])||array_key_exists("with_years",$context)?$context["with_years"]:(function(){thrownewRuntimeError('Variable "with_years" does not exist.',159,$this->source);})())){
echo"<td>";
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.',159,$this->source);})()),"years",[],"any",false,false,false,159),'widget');
echo"</td>";
}
// line 160
if((isset($context["with_months"])||array_key_exists("with_months",$context)?$context["with_months"]:(function(){thrownewRuntimeError('Variable "with_months" does not exist.',160,$this->source);})())){
echo"<td>";
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.',160,$this->source);})()),"months",[],"any",false,false,false,160),'widget');
echo"</td>";
}
// line 161
if((isset($context["with_weeks"])||array_key_exists("with_weeks",$context)?$context["with_weeks"]:(function(){thrownewRuntimeError('Variable "with_weeks" does not exist.',161,$this->source);})())){
echo"<td>";
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);})()),"weeks",[],"any",false,false,false,161),'widget');
echo"</td>";
}
// line 162
if((isset($context["with_days"])||array_key_exists("with_days",$context)?$context["with_days"]:(function(){thrownewRuntimeError('Variable "with_days" does not exist.',162,$this->source);})())){
echo"<td>";
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.',162,$this->source);})()),"days",[],"any",false,false,false,162),'widget');
echo"</td>";
}
// line 163
if((isset($context["with_hours"])||array_key_exists("with_hours",$context)?$context["with_hours"]:(function(){thrownewRuntimeError('Variable "with_hours" does not exist.',163,$this->source);})())){
echo"<td>";
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.',163,$this->source);})()),"hours",[],"any",false,false,false,163),'widget');
echo"</td>";
}
// line 164
if((isset($context["with_minutes"])||array_key_exists("with_minutes",$context)?$context["with_minutes"]:(function(){thrownewRuntimeError('Variable "with_minutes" does not exist.',164,$this->source);})())){
echo"<td>";
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.',164,$this->source);})()),"minutes",[],"any",false,false,false,164),'widget');
echo"</td>";
}
// line 165
if((isset($context["with_seconds"])||array_key_exists("with_seconds",$context)?$context["with_seconds"]:(function(){thrownewRuntimeError('Variable "with_seconds" does not exist.',165,$this->source);})())){
echo"<td>";
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.',165,$this->source);})()),"seconds",[],"any",false,false,false,165),'widget');
echo"</td>";
}
// line 166
echo"</tr>
</tbody>
</table>";
// line 169
if((isset($context["with_invert"])||array_key_exists("with_invert",$context)?$context["with_invert"]:(function(){thrownewRuntimeError('Variable "with_invert" does not exist.',169,$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.',169,$this->source);})()),"invert",[],"any",false,false,false,169),'widget');
$context["type"]=((array_key_exists("type",$context))?(_twig_default_filter((isset($context["type"])||array_key_exists("type",$context)?$context["type"]:(function(){thrownewRuntimeError('Variable "type" does not exist.',176,$this->source);})()),"text")):("text"));
$context["type"]=((array_key_exists("type",$context))?(_twig_default_filter((isset($context["type"])||array_key_exists("type",$context)?$context["type"]:(function(){thrownewRuntimeError('Variable "type" does not exist.',181,$this->source);})()),"number")):("number"));
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.',186,$this->source);})()),$this->renderBlock("form_widget_simple",$context,$blocks));
$context["type"]=((array_key_exists("type",$context))?(_twig_default_filter((isset($context["type"])||array_key_exists("type",$context)?$context["type"]:(function(){thrownewRuntimeError('Variable "type" does not exist.',190,$this->source);})()),"url")):("url"));
$context["type"]=((array_key_exists("type",$context))?(_twig_default_filter((isset($context["type"])||array_key_exists("type",$context)?$context["type"]:(function(){thrownewRuntimeError('Variable "type" does not exist.',195,$this->source);})()),"search")):("search"));
$context["type"]=((array_key_exists("type",$context))?(_twig_default_filter((isset($context["type"])||array_key_exists("type",$context)?$context["type"]:(function(){thrownewRuntimeError('Variable "type" does not exist.',200,$this->source);})()),"text")):("text"));
if((isset($context["symbol"])||array_key_exists("symbol",$context)?$context["symbol"]:(function(){thrownewRuntimeError('Variable "symbol" does not exist.',201,$this->source);})())){
echo"";
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.',201,$this->source);})()),"%")):("%")),"html",null,true);
$context["type"]=((array_key_exists("type",$context))?(_twig_default_filter((isset($context["type"])||array_key_exists("type",$context)?$context["type"]:(function(){thrownewRuntimeError('Variable "type" does not exist.',205,$this->source);})()),"password")):("password"));
$context["type"]=((array_key_exists("type",$context))?(_twig_default_filter((isset($context["type"])||array_key_exists("type",$context)?$context["type"]:(function(){thrownewRuntimeError('Variable "type" does not exist.',210,$this->source);})()),"hidden")):("hidden"));
$context["type"]=((array_key_exists("type",$context))?(_twig_default_filter((isset($context["type"])||array_key_exists("type",$context)?$context["type"]:(function(){thrownewRuntimeError('Variable "type" does not exist.',215,$this->source);})()),"email")):("email"));
$context["type"]=((array_key_exists("type",$context))?(_twig_default_filter((isset($context["type"])||array_key_exists("type",$context)?$context["type"]:(function(){thrownewRuntimeError('Variable "type" does not exist.',220,$this->source);})()),"range")):("range"));
if(twig_test_empty((isset($context["label"])||array_key_exists("label",$context)?$context["label"]:(function(){thrownewRuntimeError('Variable "label" does not exist.',225,$this->source);})()))){
// line 226
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.',226,$this->source);})()))){
// line 227
$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.',227,$this->source);})()),["%name%"=>// line 228
(isset($context["name"])||array_key_exists("name",$context)?$context["name"]:(function(){thrownewRuntimeError('Variable "name" does not exist.',228,$this->source);})()),"%id%"=>// line 229
(isset($context["id"])||array_key_exists("id",$context)?$context["id"]:(function(){thrownewRuntimeError('Variable "id" does not exist.',229,$this->source);})())]);
}elseif(!(// line 231
(isset($context["label"])||array_key_exists("label",$context)?$context["label"]:(function(){thrownewRuntimeError('Variable "label" does not exist.',231,$this->source);})())===false)){
// line 232
$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.',232,$this->source);})()));
}
}
// line 235
echo"<button type=\"";
echotwig_escape_filter($this->env,((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.',235,$this->source);})()),"button")):("button")),"html",null,true);
if(((isset($context["translation_domain"])||array_key_exists("translation_domain",$context)?$context["translation_domain"]:(function(){thrownewRuntimeError('Variable "translation_domain" does not exist.',236,$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.',237,$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.',238,$this->source);})()),"html",null,true);
}else{
// line 240
echo(isset($context["label"])||array_key_exists("label",$context)?$context["label"]:(function(){thrownewRuntimeError('Variable "label" does not exist.',240,$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.',243,$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.',244,$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.',244,$this->source);})()),[])):([])),(isset($context["translation_domain"])||array_key_exists("translation_domain",$context)?$context["translation_domain"]:(function(){thrownewRuntimeError('Variable "translation_domain" does not exist.',244,$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.',246,$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.',246,$this->source);})()),[])):([])),(isset($context["translation_domain"])||array_key_exists("translation_domain",$context)?$context["translation_domain"]:(function(){thrownewRuntimeError('Variable "translation_domain" does not exist.',246,$this->source);})()));
$context["type"]=((array_key_exists("type",$context))?(_twig_default_filter((isset($context["type"])||array_key_exists("type",$context)?$context["type"]:(function(){thrownewRuntimeError('Variable "type" does not exist.',253,$this->source);})()),"submit")):("submit"));
$context["type"]=((array_key_exists("type",$context))?(_twig_default_filter((isset($context["type"])||array_key_exists("type",$context)?$context["type"]:(function(){thrownewRuntimeError('Variable "type" does not exist.',258,$this->source);})()),"reset")):("reset"));
$context["type"]=((array_key_exists("type",$context))?(_twig_default_filter((isset($context["type"])||array_key_exists("type",$context)?$context["type"]:(function(){thrownewRuntimeError('Variable "type" does not exist.',263,$this->source);})()),"tel")):("tel"));
$context["type"]=((array_key_exists("type",$context))?(_twig_default_filter((isset($context["type"])||array_key_exists("type",$context)?$context["type"]:(function(){thrownewRuntimeError('Variable "type" does not exist.',268,$this->source);})()),"color")):("color"));
if(((isset($context["widget"])||array_key_exists("widget",$context)?$context["widget"]:(function(){thrownewRuntimeError('Variable "widget" does not exist.',273,$this->source);})())=="single_text")){
$context["vars"]=((((isset($context["widget"])||array_key_exists("widget",$context)?$context["widget"]:(function(){thrownewRuntimeError('Variable "widget" does not exist.',276,$this->source);})())=="text"))?(["attr"=>["size"=>1]]):([]));
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.',278,$this->source);})()),"year",[],"any",false,false,false,278),'widget',(isset($context["vars"])||array_key_exists("vars",$context)?$context["vars"]:(function(){thrownewRuntimeError('Variable "vars" does not exist.',278,$this->source);})()));
echo"-";
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.',278,$this->source);})()),"week",[],"any",false,false,false,278),'widget',(isset($context["vars"])||array_key_exists("vars",$context)?$context["vars"]:(function(){thrownewRuntimeError('Variable "vars" does not exist.',278,$this->source);})()));
if(!((isset($context["label"])||array_key_exists("label",$context)?$context["label"]:(function(){thrownewRuntimeError('Variable "label" does not exist.',286,$this->source);})())===false)){
// line 287
if(!(isset($context["compound"])||array_key_exists("compound",$context)?$context["compound"]:(function(){thrownewRuntimeError('Variable "compound" does not exist.',287,$this->source);})())){
// line 288
$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.',288,$this->source);})()),["for"=>(isset($context["id"])||array_key_exists("id",$context)?$context["id"]:(function(){thrownewRuntimeError('Variable "id" does not exist.',288,$this->source);})())]);
}
// line 290
if((isset($context["required"])||array_key_exists("required",$context)?$context["required"]:(function(){thrownewRuntimeError('Variable "required" does not exist.',290,$this->source);})())){
// line 291
$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.',291,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",true,true,false,291))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",false,false,false,291),"")):(""))." required"))]);
}
// line 293
if(twig_test_empty((isset($context["label"])||array_key_exists("label",$context)?$context["label"]:(function(){thrownewRuntimeError('Variable "label" does not exist.',293,$this->source);})()))){
// line 294
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.',294,$this->source);})()))){
// line 295
$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.',295,$this->source);})()),["%name%"=>// line 296
(isset($context["name"])||array_key_exists("name",$context)?$context["name"]:(function(){thrownewRuntimeError('Variable "name" does not exist.',296,$this->source);})()),"%id%"=>// line 297
(isset($context["id"])||array_key_exists("id",$context)?$context["id"]:(function(){thrownewRuntimeError('Variable "id" does not exist.',297,$this->source);})())]);
}else{
// line 300
$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.',300,$this->source);})()));
}
}
// line 303
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.',303,$this->source);})()),"label")):("label")),"html",null,true);
if((isset($context["label_attr"])||array_key_exists("label_attr",$context)?$context["label_attr"]:(function(){thrownewRuntimeError('Variable "label_attr" does not exist.',303,$this->source);})())){
$__internal_compile_2=$context;
$__internal_compile_3=["attr"=>(isset($context["label_attr"])||array_key_exists("label_attr",$context)?$context["label_attr"]:(function(){thrownewRuntimeError('Variable "label_attr" does not exist.',303,$this->source);})())];
if(!twig_test_iterable($__internal_compile_3)){
thrownewRuntimeError('Variables passed to the "with" tag must be a hash.',303,$this->getSourceContext());
if(((isset($context["translation_domain"])||array_key_exists("translation_domain",$context)?$context["translation_domain"]:(function(){thrownewRuntimeError('Variable "translation_domain" does not exist.',304,$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.',305,$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.',306,$this->source);})()),"html",null,true);
}else{
// line 308
echo(isset($context["label"])||array_key_exists("label",$context)?$context["label"]:(function(){thrownewRuntimeError('Variable "label" does not exist.',308,$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.',311,$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.',312,$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.',312,$this->source);})()),[])):([])),(isset($context["translation_domain"])||array_key_exists("translation_domain",$context)?$context["translation_domain"]:(function(){thrownewRuntimeError('Variable "translation_domain" does not exist.',312,$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.',314,$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.',314,$this->source);})()),[])):([])),(isset($context["translation_domain"])||array_key_exists("translation_domain",$context)?$context["translation_domain"]:(function(){thrownewRuntimeError('Variable "translation_domain" does not exist.',314,$this->source);})()));
echotwig_escape_filter($this->env,((array_key_exists("element",$context))?(_twig_default_filter((isset($context["element"])||array_key_exists("element",$context)?$context["element"]:(function(){thrownewRuntimeError('Variable "element" does not exist.',317,$this->source);})()),"label")):("label")),"html",null,true);
if(!twig_test_empty((isset($context["help"])||array_key_exists("help",$context)?$context["help"]:(function(){thrownewRuntimeError('Variable "help" does not exist.',326,$this->source);})()))){
// line 327
$context["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.',327,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["help_attr"]??null),"class",[],"any",true,true,false,327))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["help_attr"]??null),"class",[],"any",false,false,false,327),"")):(""))." help-text"))]);
// line 328
echo"<p id=\"";
echotwig_escape_filter($this->env,(isset($context["id"])||array_key_exists("id",$context)?$context["id"]:(function(){thrownewRuntimeError('Variable "id" does not exist.',328,$this->source);})()),"html",null,true);
echo"_help\"";
$__internal_compile_4=$context;
$__internal_compile_5=["attr"=>(isset($context["help_attr"])||array_key_exists("help_attr",$context)?$context["help_attr"]:(function(){thrownewRuntimeError('Variable "help_attr" does not exist.',328,$this->source);})())];
if(!twig_test_iterable($__internal_compile_5)){
thrownewRuntimeError('Variables passed to the "with" tag must be a hash.',328,$this->getSourceContext());
if(((isset($context["translation_domain"])||array_key_exists("translation_domain",$context)?$context["translation_domain"]:(function(){thrownewRuntimeError('Variable "translation_domain" does not exist.',329,$this->source);})())===false)){
// line 330
if(((isset($context["help_html"])||array_key_exists("help_html",$context)?$context["help_html"]:(function(){thrownewRuntimeError('Variable "help_html" does not exist.',330,$this->source);})())===false)){
// line 331
echotwig_escape_filter($this->env,(isset($context["help"])||array_key_exists("help",$context)?$context["help"]:(function(){thrownewRuntimeError('Variable "help" does not exist.',331,$this->source);})()),"html",null,true);
}else{
// line 333
echo(isset($context["help"])||array_key_exists("help",$context)?$context["help"]:(function(){thrownewRuntimeError('Variable "help" does not exist.',333,$this->source);})());
}
}else{
// line 336
if(((isset($context["help_html"])||array_key_exists("help_html",$context)?$context["help_html"]:(function(){thrownewRuntimeError('Variable "help_html" does not exist.',336,$this->source);})())===false)){
// line 337
echotwig_escape_filter($this->env,$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((isset($context["help"])||array_key_exists("help",$context)?$context["help"]:(function(){thrownewRuntimeError('Variable "help" does not exist.',337,$this->source);})()),(isset($context["help_translation_parameters"])||array_key_exists("help_translation_parameters",$context)?$context["help_translation_parameters"]:(function(){thrownewRuntimeError('Variable "help_translation_parameters" does not exist.',337,$this->source);})()),(isset($context["translation_domain"])||array_key_exists("translation_domain",$context)?$context["translation_domain"]:(function(){thrownewRuntimeError('Variable "translation_domain" does not exist.',337,$this->source);})())),"html",null,true);
}else{
// line 339
echo$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((isset($context["help"])||array_key_exists("help",$context)?$context["help"]:(function(){thrownewRuntimeError('Variable "help" does not exist.',339,$this->source);})()),(isset($context["help_translation_parameters"])||array_key_exists("help_translation_parameters",$context)?$context["help_translation_parameters"]:(function(){thrownewRuntimeError('Variable "help_translation_parameters" does not exist.',339,$this->source);})()),(isset($context["translation_domain"])||array_key_exists("translation_domain",$context)?$context["translation_domain"]:(function(){thrownewRuntimeError('Variable "translation_domain" does not exist.',339,$this->source);})()));
if(!twig_test_empty((isset($context["help"])||array_key_exists("help",$context)?$context["help"]:(function(){thrownewRuntimeError('Variable "help" does not exist.',358,$this->source);})()))){
// line 359
$context["widget_attr"]=["attr"=>["aria-describedby"=>((isset($context["id"])||array_key_exists("id",$context)?$context["id"]:(function(){thrownewRuntimeError('Variable "id" does not exist.',359,$this->source);})())."_help")]];
}
// line 361
echo"<div";
$__internal_compile_6=$context;
$__internal_compile_7=["attr"=>(isset($context["row_attr"])||array_key_exists("row_attr",$context)?$context["row_attr"]:(function(){thrownewRuntimeError('Variable "row_attr" does not exist.',361,$this->source);})())];
if(!twig_test_iterable($__internal_compile_7)){
thrownewRuntimeError('Variables passed to the "with" tag must be a hash.',361,$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.',362,$this->source);})()),'label');
// line 363
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.',363,$this->source);})()),'errors');
// line 364
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.',364,$this->source);})()),'widget',(isset($context["widget_attr"])||array_key_exists("widget_attr",$context)?$context["widget_attr"]:(function(){thrownewRuntimeError('Variable "widget_attr" does not exist.',364,$this->source);})()));
// line 365
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.',365,$this->source);})()),'help');
$__internal_compile_9=["attr"=>(isset($context["row_attr"])||array_key_exists("row_attr",$context)?$context["row_attr"]:(function(){thrownewRuntimeError('Variable "row_attr" does not exist.',370,$this->source);})())];
if(!twig_test_iterable($__internal_compile_9)){
thrownewRuntimeError('Variables passed to the "with" tag must be a hash.',370,$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.',371,$this->source);})()),'widget');
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.',376,$this->source);})()),'widget');
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',382,$this->source);})()),'form_start');
// line 383
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.',383,$this->source);})()),'widget');
// line 384
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',384,$this->source);})()),'form_end');
twig_get_attribute($this->env,$this->source,(isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',388,$this->source);})()),"setMethodRendered",[],"method",false,false,false,388);
// line 389
$context["method"]=twig_upper_filter($this->env,(isset($context["method"])||array_key_exists("method",$context)?$context["method"]:(function(){thrownewRuntimeError('Variable "method" does not exist.',389,$this->source);})()));
// line 390
if(twig_in_filter((isset($context["method"])||array_key_exists("method",$context)?$context["method"]:(function(){thrownewRuntimeError('Variable "method" does not exist.',390,$this->source);})()),[0=>"GET",1=>"POST"])){
// line 391
$context["form_method"]=(isset($context["method"])||array_key_exists("method",$context)?$context["method"]:(function(){thrownewRuntimeError('Variable "method" does not exist.',391,$this->source);})());
}else{
// line 393
$context["form_method"]="POST";
}
// line 395
echo"<form";
if(((isset($context["name"])||array_key_exists("name",$context)?$context["name"]:(function(){thrownewRuntimeError('Variable "name" does not exist.',395,$this->source);})())!="")){
echo" name=\"";
echotwig_escape_filter($this->env,(isset($context["name"])||array_key_exists("name",$context)?$context["name"]:(function(){thrownewRuntimeError('Variable "name" does not exist.',395,$this->source);})()),"html",null,true);
echo"\"";
}
echo" method=\"";
echotwig_escape_filter($this->env,twig_lower_filter($this->env,(isset($context["form_method"])||array_key_exists("form_method",$context)?$context["form_method"]:(function(){thrownewRuntimeError('Variable "form_method" does not exist.',395,$this->source);})())),"html",null,true);
echo"\"";
if(((isset($context["action"])||array_key_exists("action",$context)?$context["action"]:(function(){thrownewRuntimeError('Variable "action" does not exist.',395,$this->source);})())!="")){
echo" action=\"";
echotwig_escape_filter($this->env,(isset($context["action"])||array_key_exists("action",$context)?$context["action"]:(function(){thrownewRuntimeError('Variable "action" does not exist.',395,$this->source);})()),"html",null,true);
if((isset($context["multipart"])||array_key_exists("multipart",$context)?$context["multipart"]:(function(){thrownewRuntimeError('Variable "multipart" does not exist.',395,$this->source);})())){
echo" enctype=\"multipart/form-data\"";
}
echo">";
// line 396
if(((isset($context["form_method"])||array_key_exists("form_method",$context)?$context["form_method"]:(function(){thrownewRuntimeError('Variable "form_method" does not exist.',396,$this->source);})())!=(isset($context["method"])||array_key_exists("method",$context)?$context["method"]:(function(){thrownewRuntimeError('Variable "method" does not exist.',396,$this->source);})()))){
echotwig_escape_filter($this->env,(isset($context["method"])||array_key_exists("method",$context)?$context["method"]:(function(){thrownewRuntimeError('Variable "method" does not exist.',397,$this->source);})()),"html",null,true);
if((!array_key_exists("render_rest",$context)||(isset($context["render_rest"])||array_key_exists("render_rest",$context)?$context["render_rest"]:(function(){thrownewRuntimeError('Variable "render_rest" does not exist.',402,$this->source);})()))){
// line 403
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.',403,$this->source);})()),'rest');
if((twig_length_filter($this->env,(isset($context["errors"])||array_key_exists("errors",$context)?$context["errors"]:(function(){thrownewRuntimeError('Variable "errors" does not exist.',409,$this->source);})()))>0)){
// line 410
echo"<ul>";
// line 411
$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.',411,$this->source);})()));
$context['_seq']=twig_ensure_traversable((isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',419,$this->source);})()));
if((!twig_get_attribute($this->env,$this->source,(isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',425,$this->source);})()),"methodRendered",[],"any",false,false,false,425)&&Symfony\Bridge\Twig\Extension\twig_is_root_form((isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',425,$this->source);})())))){
// line 426
twig_get_attribute($this->env,$this->source,(isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',426,$this->source);})()),"setMethodRendered",[],"method",false,false,false,426);
// line 427
$context["method"]=twig_upper_filter($this->env,(isset($context["method"])||array_key_exists("method",$context)?$context["method"]:(function(){thrownewRuntimeError('Variable "method" does not exist.',427,$this->source);})()));
// line 428
if(twig_in_filter((isset($context["method"])||array_key_exists("method",$context)?$context["method"]:(function(){thrownewRuntimeError('Variable "method" does not exist.',428,$this->source);})()),[0=>"GET",1=>"POST"])){
// line 429
$context["form_method"]=(isset($context["method"])||array_key_exists("method",$context)?$context["method"]:(function(){thrownewRuntimeError('Variable "method" does not exist.',429,$this->source);})());
}else{
// line 431
$context["form_method"]="POST";
}
// line 434
if(((isset($context["form_method"])||array_key_exists("form_method",$context)?$context["form_method"]:(function(){thrownewRuntimeError('Variable "form_method" does not exist.',434,$this->source);})())!=(isset($context["method"])||array_key_exists("method",$context)?$context["method"]:(function(){thrownewRuntimeError('Variable "method" does not exist.',434,$this->source);})()))){
echotwig_escape_filter($this->env,(isset($context["method"])||array_key_exists("method",$context)?$context["method"]:(function(){thrownewRuntimeError('Variable "method" does not exist.',435,$this->source);})()),"html",null,true);
$context['_seq']=twig_ensure_traversable(twig_array_filter($this->env,(isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',443,$this->source);})()),function($__child__)use($context,$macros){$context["child"]=$__child__;return!twig_get_attribute($this->env,$this->source,$context["child"],"rendered",[],"any",false,false,false,443);}));
echotwig_escape_filter($this->env,(isset($context["id"])||array_key_exists("id",$context)?$context["id"]:(function(){thrownewRuntimeError('Variable "id" does not exist.',449,$this->source);})()),"html",null,true);
echo"\" name=\"";
echotwig_escape_filter($this->env,(isset($context["full_name"])||array_key_exists("full_name",$context)?$context["full_name"]:(function(){thrownewRuntimeError('Variable "full_name" does not exist.',449,$this->source);})()),"html",null,true);
echo"\"";
// line 450
if((isset($context["disabled"])||array_key_exists("disabled",$context)?$context["disabled"]:(function(){thrownewRuntimeError('Variable "disabled" does not exist.',450,$this->source);})())){
echo" disabled=\"disabled\"";
}
// line 451
if((isset($context["required"])||array_key_exists("required",$context)?$context["required"]:(function(){thrownewRuntimeError('Variable "required" does not exist.',451,$this->source);})())){
if(!twig_test_empty((isset($context["id"])||array_key_exists("id",$context)?$context["id"]:(function(){thrownewRuntimeError('Variable "id" does not exist.',456,$this->source);})()))){
echo"id=\"";
echotwig_escape_filter($this->env,(isset($context["id"])||array_key_exists("id",$context)?$context["id"]:(function(){thrownewRuntimeError('Variable "id" does not exist.',456,$this->source);})()),"html",null,true);
echotwig_escape_filter($this->env,(isset($context["id"])||array_key_exists("id",$context)?$context["id"]:(function(){thrownewRuntimeError('Variable "id" does not exist.',461,$this->source);})()),"html",null,true);
echo"\" name=\"";
echotwig_escape_filter($this->env,(isset($context["full_name"])||array_key_exists("full_name",$context)?$context["full_name"]:(function(){thrownewRuntimeError('Variable "full_name" does not exist.',461,$this->source);})()),"html",null,true);
echo"\"";
if((isset($context["disabled"])||array_key_exists("disabled",$context)?$context["disabled"]:(function(){thrownewRuntimeError('Variable "disabled" does not exist.',461,$this->source);})())){
$context['_seq']=twig_ensure_traversable((isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',466,$this->source);})()));
echotwig_escape_filter($this->env,(((((isset($context["translation_domain"])||array_key_exists("translation_domain",$context)?$context["translation_domain"]:(function(){thrownewRuntimeError('Variable "translation_domain" does not exist.',469,$this->source);})())===false)||(null===$context["attrvalue"])))?($context["attrvalue"]):($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["attrvalue"],(isset($context["attr_translation_parameters"])||array_key_exists("attr_translation_parameters",$context)?$context["attr_translation_parameters"]:(function(){thrownewRuntimeError('Variable "attr_translation_parameters" does not exist.',469,$this->source);})()),(isset($context["translation_domain"])||array_key_exists("translation_domain",$context)?$context["translation_domain"]:(function(){thrownewRuntimeError('Variable "translation_domain" does not exist.',469,$this->source);})())))),"html",null,true);
<optionvalue=\"\"{% if required and value is empty %} selected=\"selected\"{% endif %}>{{ placeholder != '' ? (translation_domain is same as(false) ? placeholder : placeholder|trans({}, translation_domain)) }}</option>
<optionvalue=\"{{ choice.value }}\"{% if choice.attr %}{% with { attr: choice.attr } %}{{ block('attributes') }}{% endwith %}{% endif %}{% if not render_preferred_choices|default(false) and choice is selectedchoice(value) %} selected=\"selected\"{% endif %}>{{ choice_translation_domain is same as(false) ? choice.label : choice.label|trans(choice.labelTranslationParameters|default({}), choice_translation_domain) }}</option>
<inputtype=\"checkbox\"{{ block('widget_attributes') }}{% if value is defined %} value=\"{{ value }}\"{% endif %}{% if checked %} checked=\"checked\"{% endif %} />
{%-endblockcheckbox_widget-%}
{%-blockradio_widget-%}
<inputtype=\"radio\"{{ block('widget_attributes') }}{% if value is defined %} value=\"{{ value }}\"{% endif %}{% if checked %} checked=\"checked\"{% endif %} />
id=\"{{ id }}\" name=\"{{ full_name }}\"{% if disabled %} disabled=\"disabled\"{% endif -%}
{{block('attributes')}}
{%-endblockbutton_attributes-%}
{%blockattributes-%}
{%-forattrname,attrvalueinattr-%}
{{-\"\" -}}
{%-ifattrnamein['placeholder','title']-%}
{{-attrname}}=\"{{ translation_domain is same as(false) or attrvalue is null ? attrvalue : attrvalue|trans(attr_translation_parameters, translation_domain) }}\"