if((twig_length_filter($this->env,(isset($context["errors"])||array_key_exists("errors",$context)?$context["errors"]:(function(){thrownewRuntimeError('Variable "errors" does not exist.',7,$this->source);})()))>0)){
// line 8
$context["attr"]=twig_array_merge((isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',8,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",true,true,false,8))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",false,false,false,8),"")):(""))." error"))]);
if((twig_length_filter($this->env,(isset($context["errors"])||array_key_exists("errors",$context)?$context["errors"]:(function(){thrownewRuntimeError('Variable "errors" does not exist.',14,$this->source);})()))>0)){
// line 15
$context["attr"]=twig_array_merge((isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',15,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",true,true,false,15))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",false,false,false,15),"")):(""))." error"))]);
$context["attr"]=twig_array_merge((isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',21,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",true,true,false,21))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",false,false,false,21),"")):(""))." button"))]);
$context["prepend"]=("{{"==twig_slice($this->env,(isset($context["money_pattern"])||array_key_exists("money_pattern",$context)?$context["money_pattern"]:(function(){thrownewRuntimeError('Variable "money_pattern" does not exist.',27,$this->source);})()),0,2));
// line 28
echo"";
if(!(isset($context["prepend"])||array_key_exists("prepend",$context)?$context["prepend"]:(function(){thrownewRuntimeError('Variable "prepend" does not exist.',28,$this->source);})())){
// line 29
echo" <div class=\"small-3 large-2 columns\">
<spanclass=\"prefix\">";
// line 30
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.',30,$this->source);})()));
if((isset($context["prepend"])||array_key_exists("prepend",$context)?$context["prepend"]:(function(){thrownewRuntimeError('Variable "prepend" does not exist.',36,$this->source);})())){
// line 37
echo" <div class=\"small-3 large-2 columns\">
<spanclass=\"postfix\">";
// line 38
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.',38,$this->source);})()));
if((isset($context["symbol"])||array_key_exists("symbol",$context)?$context["symbol"]:(function(){thrownewRuntimeError('Variable "symbol" does not exist.',46,$this->source);})())){
echotwig_escape_filter($this->env,((array_key_exists("symbol",$context))?(_twig_default_filter((isset($context["symbol"])||array_key_exists("symbol",$context)?$context["symbol"]:(function(){thrownewRuntimeError('Variable "symbol" does not exist.',51,$this->source);})()),"%")):("%")),"html",null,true);
if(((isset($context["widget"])||array_key_exists("widget",$context)?$context["widget"]:(function(){thrownewRuntimeError('Variable "widget" does not exist.',62,$this->source);})())=="single_text")){
$context["attr"]=twig_array_merge((isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',65,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",true,true,false,65))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",false,false,false,65),"")):(""))." row"))]);
// line 66
echo" <div class=\"row\">
<divclass=\"large-7 columns\">";
// line 67
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env,$this->source,(isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',67,$this->source);})()),"date",[],"any",false,false,false,67),'errors');
echo"</div>
<divclass=\"large-5 columns\">";
// line 68
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env,$this->source,(isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',68,$this->source);})()),"time",[],"any",false,false,false,68),'errors');
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.',71,$this->source);})()),"date",[],"any",false,false,false,71),'widget',["datetime"=>true]);
echo"</div>
<divclass=\"large-5 columns\">";
// line 72
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.',72,$this->source);})()),"time",[],"any",false,false,false,72),'widget',["datetime"=>true]);
if(((isset($context["widget"])||array_key_exists("widget",$context)?$context["widget"]:(function(){thrownewRuntimeError('Variable "widget" does not exist.',78,$this->source);})())=="single_text")){
$context["attr"]=twig_array_merge((isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',81,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",true,true,false,81))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",false,false,false,81),"")):(""))." row"))]);
// line 82
echo"";
if((!array_key_exists("datetime",$context)||!(isset($context["datetime"])||array_key_exists("datetime",$context)?$context["datetime"]:(function(){thrownewRuntimeError('Variable "datetime" does not exist.',82,$this->source);})()))){
echotwig_replace_filter((isset($context["date_pattern"])||array_key_exists("date_pattern",$context)?$context["date_pattern"]:(function(){thrownewRuntimeError('Variable "date_pattern" does not exist.',85,$this->source);})()),["{{ year }}"=>(("<div class=\"large-4 columns\">".// line 86
$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.',86,$this->source);})()),"year",[],"any",false,false,false,86),'widget'))."</div>"),"{{ month }}"=>(("<div class=\"large-4 columns\">".// line 87
$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.',87,$this->source);})()),"month",[],"any",false,false,false,87),'widget'))."</div>"),"{{ day }}"=>(("<div class=\"large-4 columns\">".// line 88
$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.',88,$this->source);})()),"day",[],"any",false,false,false,88),'widget'))."</div>")]);
// line 90
if((!array_key_exists("datetime",$context)||!(isset($context["datetime"])||array_key_exists("datetime",$context)?$context["datetime"]:(function(){thrownewRuntimeError('Variable "datetime" does not exist.',90,$this->source);})()))){
if(((isset($context["widget"])||array_key_exists("widget",$context)?$context["widget"]:(function(){thrownewRuntimeError('Variable "widget" does not exist.',97,$this->source);})())=="single_text")){
$context["attr"]=twig_array_merge((isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',100,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",true,true,false,100))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",false,false,false,100),"")):(""))." row"))]);
// line 101
echo"";
if((!array_key_exists("datetime",$context)||(false==(isset($context["datetime"])||array_key_exists("datetime",$context)?$context["datetime"]:(function(){thrownewRuntimeError('Variable "datetime" does not exist.',101,$this->source);})())))){
if((isset($context["with_seconds"])||array_key_exists("with_seconds",$context)?$context["with_seconds"]:(function(){thrownewRuntimeError('Variable "with_seconds" does not exist.',104,$this->source);})())){
// line 105
echo" <div class=\"large-4 columns\">";
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env,$this->source,(isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',105,$this->source);})()),"hour",[],"any",false,false,false,105),'widget');
echo"</div>
<divclass=\"large-4 columns\">
<divclass=\"row collapse\">
<divclass=\"small-3 large-2 columns\">
<spanclass=\"prefix\">:</span>
</div>
<divclass=\"small-9 large-10 columns\">
";
// line 112
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.',112,$this->source);})()),"minute",[],"any",false,false,false,112),'widget');
echo"
</div>
</div>
</div>
<divclass=\"large-4 columns\">
<divclass=\"row collapse\">
<divclass=\"small-3 large-2 columns\">
<spanclass=\"prefix\">:</span>
</div>
<divclass=\"small-9 large-10 columns\">
";
// line 122
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env,$this->source,(isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',122,$this->source);})()),"second",[],"any",false,false,false,122),'widget');
echo"
</div>
</div>
</div>
";
}else{
// line 127
echo" <div class=\"large-6 columns\">";
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env,$this->source,(isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',127,$this->source);})()),"hour",[],"any",false,false,false,127),'widget');
echo"</div>
<divclass=\"large-6 columns\">
<divclass=\"row collapse\">
<divclass=\"small-3 large-2 columns\">
<spanclass=\"prefix\">:</span>
</div>
<divclass=\"small-9 large-10 columns\">
";
// line 134
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env,$this->source,(isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',134,$this->source);})()),"minute",[],"any",false,false,false,134),'widget');
echo"
</div>
</div>
</div>
";
}
// line 139
echo"";
if((!array_key_exists("datetime",$context)||(false==(isset($context["datetime"])||array_key_exists("datetime",$context)?$context["datetime"]:(function(){thrownewRuntimeError('Variable "datetime" does not exist.',139,$this->source);})())))){
if((twig_length_filter($this->env,(isset($context["errors"])||array_key_exists("errors",$context)?$context["errors"]:(function(){thrownewRuntimeError('Variable "errors" does not exist.',146,$this->source);})()))>0)){
// line 147
$context["attr"]=twig_array_merge((isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',147,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",true,true,false,147))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",false,false,false,147),"")):(""))." error"))]);
// line 148
echo"";
}
// line 149
echo"
";
// line 150
if((isset($context["multiple"])||array_key_exists("multiple",$context)?$context["multiple"]:(function(){thrownewRuntimeError('Variable "multiple" does not exist.',150,$this->source);})())){
// line 151
$context["attr"]=twig_array_merge((isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',151,$this->source);})()),["style"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"style",[],"any",true,true,false,151))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["attr"]??null),"style",[],"any",false,false,false,151),"")):(""))." height: auto; background-image: none;"))]);
// line 152
echo"";
}
// line 153
echo"
";
// line 154
if(((((isset($context["required"])||array_key_exists("required",$context)?$context["required"]:(function(){thrownewRuntimeError('Variable "required" does not exist.',154,$this->source);})())&&(null===(isset($context["placeholder"])||array_key_exists("placeholder",$context)?$context["placeholder"]:(function(){thrownewRuntimeError('Variable "placeholder" does not exist.',154,$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.',154,$this->source);})()))&&!(isset($context["multiple"])||array_key_exists("multiple",$context)?$context["multiple"]:(function(){thrownewRuntimeError('Variable "multiple" does not exist.',154,$this->source);})()))){
if((isset($context["multiple"])||array_key_exists("multiple",$context)?$context["multiple"]:(function(){thrownewRuntimeError('Variable "multiple" does not exist.',157,$this->source);})())){
if(!(null===(isset($context["placeholder"])||array_key_exists("placeholder",$context)?$context["placeholder"]:(function(){thrownewRuntimeError('Variable "placeholder" does not exist.',158,$this->source);})()))){
// line 159
echo"<option value=\"\"";
if(((isset($context["required"])||array_key_exists("required",$context)?$context["required"]:(function(){thrownewRuntimeError('Variable "required" does not exist.',159,$this->source);})())&&twig_test_empty((isset($context["value"])||array_key_exists("value",$context)?$context["value"]:(function(){thrownewRuntimeError('Variable "value" does not exist.',159,$this->source);})())))){
echo" selected=\"selected\"";
}
echo">";
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.',159,$this->source);})())===false))?((isset($context["placeholder"])||array_key_exists("placeholder",$context)?$context["placeholder"]:(function(){thrownewRuntimeError('Variable "placeholder" does not exist.',159,$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.',159,$this->source);})()),[],(isset($context["translation_domain"])||array_key_exists("translation_domain",$context)?$context["translation_domain"]:(function(){thrownewRuntimeError('Variable "translation_domain" does not exist.',159,$this->source);})())))),"html",null,true);
echo"</option>";
}
// line 161
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.',161,$this->source);})()))>0)){
// line 162
$context["options"]=(isset($context["preferred_choices"])||array_key_exists("preferred_choices",$context)?$context["preferred_choices"]:(function(){thrownewRuntimeError('Variable "preferred_choices" does not exist.',162,$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.',165,$this->source);})()))>0)&&!(null===(isset($context["separator"])||array_key_exists("separator",$context)?$context["separator"]:(function(){thrownewRuntimeError('Variable "separator" does not exist.',165,$this->source);})())))){
// line 166
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.',166,$this->source);})()),"html",null,true);
echo"</option>";
}
}
// line 169
$context["options"]=(isset($context["choices"])||array_key_exists("choices",$context)?$context["choices"]:(function(){thrownewRuntimeError('Variable "choices" does not exist.',169,$this->source);})());
$context['_seq']=twig_ensure_traversable((isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',178,$this->source);})()));
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["child"],'widget',["parent_label_class"=>((twig_get_attribute($this->env,$this->source,// line 180
$context['_seq']=twig_ensure_traversable((isset($context["form"])||array_key_exists("form",$context)?$context["form"]:(function(){thrownewRuntimeError('Variable "form" does not exist.',186,$this->source);})()));
echo$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["child"],'widget',["parent_label_class"=>((twig_get_attribute($this->env,$this->source,// line 188
$context["parent_label_class"]=((array_key_exists("parent_label_class",$context))?(_twig_default_filter((isset($context["parent_label_class"])||array_key_exists("parent_label_class",$context)?$context["parent_label_class"]:(function(){thrownewRuntimeError('Variable "parent_label_class" does not exist.',196,$this->source);})()),"")):(""));
// line 197
echo"";
if((twig_length_filter($this->env,(isset($context["errors"])||array_key_exists("errors",$context)?$context["errors"]:(function(){thrownewRuntimeError('Variable "errors" does not exist.',197,$this->source);})()))>0)){
// line 198
$context["attr"]=twig_array_merge((isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',198,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",true,true,false,198))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",false,false,false,198),"")):(""))." error"))]);
// line 199
echo"";
}
// line 200
echo"";
if(twig_in_filter("checkbox-inline",(isset($context["parent_label_class"])||array_key_exists("parent_label_class",$context)?$context["parent_label_class"]:(function(){thrownewRuntimeError('Variable "parent_label_class" does not exist.',200,$this->source);})()))){
// line 201
echo"";
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.',201,$this->source);})()),'label',["widget"=>$this->renderParentBlock("checkbox_widget",$context,$blocks)]);
echo"
";
}else{
// line 203
echo" <div class=\"checkbox\">
";
// line 204
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.',204,$this->source);})()),'label',["widget"=>$this->renderParentBlock("checkbox_widget",$context,$blocks)]);
$context["parent_label_class"]=((array_key_exists("parent_label_class",$context))?(_twig_default_filter((isset($context["parent_label_class"])||array_key_exists("parent_label_class",$context)?$context["parent_label_class"]:(function(){thrownewRuntimeError('Variable "parent_label_class" does not exist.',210,$this->source);})()),"")):(""));
// line 211
echo"";
if(twig_in_filter("radio-inline",(isset($context["parent_label_class"])||array_key_exists("parent_label_class",$context)?$context["parent_label_class"]:(function(){thrownewRuntimeError('Variable "parent_label_class" does not exist.',211,$this->source);})()))){
// line 212
echo"";
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.',212,$this->source);})()),'label',["widget"=>$this->renderParentBlock("radio_widget",$context,$blocks)]);
echo"
";
}else{
// line 214
echo"";
if((twig_length_filter($this->env,(isset($context["errors"])||array_key_exists("errors",$context)?$context["errors"]:(function(){thrownewRuntimeError('Variable "errors" does not exist.',214,$this->source);})()))>0)){
// line 215
$context["attr"]=twig_array_merge((isset($context["attr"])||array_key_exists("attr",$context)?$context["attr"]:(function(){thrownewRuntimeError('Variable "attr" does not exist.',215,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",true,true,false,215))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["attr"]??null),"class",[],"any",false,false,false,215),"")):(""))." error"))]);
// line 216
echo"";
}
// line 217
echo" <div class=\"radio\">
";
// line 218
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.',218,$this->source);})()),'label',["widget"=>$this->renderParentBlock("radio_widget",$context,$blocks)]);
if((twig_length_filter($this->env,(isset($context["errors"])||array_key_exists("errors",$context)?$context["errors"]:(function(){thrownewRuntimeError('Variable "errors" does not exist.',226,$this->source);})()))>0)){
// line 227
$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.',227,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",true,true,false,227))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",false,false,false,227),"")):(""))." error"))]);
if((twig_length_filter($this->env,(isset($context["errors"])||array_key_exists("errors",$context)?$context["errors"]:(function(){thrownewRuntimeError('Variable "errors" does not exist.',233,$this->source);})()))>0)){
// line 234
$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.',234,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",true,true,false,234))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",false,false,false,234),"")):(""))." error"))]);
// line 235
echo"";
}
// line 236
echo"";
// line 237
echo"";
$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.',237,$this->source);})()),["class"=>twig_trim_filter(twig_replace_filter(((twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",true,true,false,237))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",false,false,false,237),"")):("")),["checkbox-inline"=>"","radio-inline"=>""]))]);
if((isset($context["required"])||array_key_exists("required",$context)?$context["required"]:(function(){thrownewRuntimeError('Variable "required" does not exist.',250,$this->source);})())){
// line 251
echo"";
$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.',251,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",true,true,false,251))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",false,false,false,251),"")):(""))." required"))]);
// line 252
echo"";
}
// line 253
echo"";
if((twig_length_filter($this->env,(isset($context["errors"])||array_key_exists("errors",$context)?$context["errors"]:(function(){thrownewRuntimeError('Variable "errors" does not exist.',253,$this->source);})()))>0)){
// line 254
$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.',254,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",true,true,false,254))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["label_attr"]??null),"class",[],"any",false,false,false,254),"")):(""))." error"))]);
// line 255
echo"";
}
// line 256
echo"";
if(twig_test_empty((isset($context["label"])||array_key_exists("label",$context)?$context["label"]:(function(){thrownewRuntimeError('Variable "label" does not exist.',256,$this->source);})()))){
// line 257
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.',257,$this->source);})()))){
// line 258
$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.',258,$this->source);})()),["%name%"=>// line 259
(isset($context["name"])||array_key_exists("name",$context)?$context["name"]:(function(){thrownewRuntimeError('Variable "name" does not exist.',259,$this->source);})()),"%id%"=>// line 260
(isset($context["id"])||array_key_exists("id",$context)?$context["id"]:(function(){thrownewRuntimeError('Variable "id" does not exist.',260,$this->source);})())]);
}else{
// line 263
$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.',263,$this->source);})()));
}
}
// line 266
echo" <label";
$__internal_compile_0=$context;
$__internal_compile_1=["attr"=>(isset($context["label_attr"])||array_key_exists("label_attr",$context)?$context["label_attr"]:(function(){thrownewRuntimeError('Variable "label_attr" does not exist.',266,$this->source);})())];
if(!twig_test_iterable($__internal_compile_1)){
thrownewRuntimeError('Variables passed to the "with" tag must be a hash.',266,$this->getSourceContext());
echo(isset($context["widget"])||array_key_exists("widget",$context)?$context["widget"]:(function(){thrownewRuntimeError('Variable "widget" does not exist.',267,$this->source);})());
echo"
";
// line 268
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.',268,$this->source);})())===false))?((isset($context["label"])||array_key_exists("label",$context)?$context["label"]:(function(){thrownewRuntimeError('Variable "label" does not exist.',268,$this->source);})())):($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.',268,$this->source);})()),(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.',268,$this->source);})()),(isset($context["translation_domain"])||array_key_exists("translation_domain",$context)?$context["translation_domain"]:(function(){thrownewRuntimeError('Variable "translation_domain" does not exist.',268,$this->source);})())))),"html",null,true);
if(!twig_test_empty((isset($context["help"])||array_key_exists("help",$context)?$context["help"]:(function(){thrownewRuntimeError('Variable "help" does not exist.',276,$this->source);})()))){
// line 277
$context["widget_attr"]=["attr"=>["aria-describedby"=>((isset($context["id"])||array_key_exists("id",$context)?$context["id"]:(function(){thrownewRuntimeError('Variable "id" does not exist.',277,$this->source);})())."_help")]];
}
// line 279
echo"<div";
$__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.',279,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",true,true,false,279))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",false,false,false,279),"")):(""))." row"))])];
if(!twig_test_iterable($__internal_compile_3)){
thrownewRuntimeError('Variables passed to the "with" tag must be a hash.',279,$this->getSourceContext());
if(((!(isset($context["compound"])||array_key_exists("compound",$context)?$context["compound"]:(function(){thrownewRuntimeError('Variable "compound" does not exist.',280,$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.',280,$this->source);})()),false)):(false)))&&!(isset($context["valid"])||array_key_exists("valid",$context)?$context["valid"]:(function(){thrownewRuntimeError('Variable "valid" does not exist.',280,$this->source);})()))){
echo" error";
}
echo"\">";
// line 281
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.',281,$this->source);})()),'label');
// line 282
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.',282,$this->source);})()),'widget',(isset($context["widget_attr"])||array_key_exists("widget_attr",$context)?$context["widget_attr"]:(function(){thrownewRuntimeError('Variable "widget_attr" does not exist.',282,$this->source);})()));
// line 283
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.',283,$this->source);})()),'help');
// line 284
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.',284,$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.',310,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",true,true,false,310))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",false,false,false,310),"")):(""))." row"))])];
if(!twig_test_iterable($__internal_compile_5)){
thrownewRuntimeError('Variables passed to the "with" tag must be a hash.',310,$this->getSourceContext());
if(!(isset($context["valid"])||array_key_exists("valid",$context)?$context["valid"]:(function(){thrownewRuntimeError('Variable "valid" does not exist.',311,$this->source);})())){
echo" error";
}
echo"\">
";
// line 312
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.',312,$this->source);})()),'widget');
// line 313
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.',313,$this->source);})()),'help');
// line 314
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.',314,$this->source);})()),'errors');
$__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.',320,$this->source);})()),["class"=>twig_trim_filter((((twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",true,true,false,320))?(_twig_default_filter(twig_get_attribute($this->env,$this->source,($context["row_attr"]??null),"class",[],"any",false,false,false,320),"")):(""))." row"))])];
if(!twig_test_iterable($__internal_compile_7)){
thrownewRuntimeError('Variables passed to the "with" tag must be a hash.',320,$this->getSourceContext());
if(!(isset($context["valid"])||array_key_exists("valid",$context)?$context["valid"]:(function(){thrownewRuntimeError('Variable "valid" does not exist.',321,$this->source);})())){
echo" error";
}
echo"\">
";
// line 322
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.',322,$this->source);})()),'widget');
// line 323
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.',323,$this->source);})()),'help');
// line 324
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.',324,$this->source);})()),'errors');
if((twig_length_filter($this->env,(isset($context["errors"])||array_key_exists("errors",$context)?$context["errors"]:(function(){thrownewRuntimeError('Variable "errors" does not exist.',332,$this->source);})()))>0)){
// line 333
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.',333,$this->source);})()))){
echo"<small class=\"error\">";
}else{
echo"<div data-alert class=\"alert-box alert\">";
}
// line 334
$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.',334,$this->source);})()));
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.',338,$this->source);})()))){
<optionvalue=\"\"{% if required and value is empty %} selected=\"selected\"{% endif %}>{{ translation_domain is same as(false) ? placeholder : placeholder|trans({}, translation_domain) }}</option>