PageRenderTime 79ms CodeModel.GetById 39ms RepoModel.GetById 0ms app.codeStats 1ms

/app/cache/dev/twig/5f/b3/dc57bade89249b099cd00b3b2d209d0425f9d6800f14fdc95240ee8324bc.php

https://gitlab.com/Jlb/jlbdigitalserviceswebsiteproject
PHP | 1100 lines | 768 code | 48 blank | 284 comment | 64 complexity | 09fbfac3528aee38978baa7ab4269cc3 MD5 | raw file
Possible License(s): BSD-3-Clause
  1. <?php
  2. /* form_div_layout.html.twig */
  3. class __TwigTemplate_5fb3dc57bade89249b099cd00b3b2d209d0425f9d6800f14fdc95240ee8324bc extends Twig_Template
  4. {
  5. public function __construct(Twig_Environment $env)
  6. {
  7. parent::__construct($env);
  8. $this->parent = false;
  9. $this->blocks = array(
  10. 'form_widget' => array($this, 'block_form_widget'),
  11. 'form_widget_simple' => array($this, 'block_form_widget_simple'),
  12. 'form_widget_compound' => array($this, 'block_form_widget_compound'),
  13. 'collection_widget' => array($this, 'block_collection_widget'),
  14. 'textarea_widget' => array($this, 'block_textarea_widget'),
  15. 'choice_widget' => array($this, 'block_choice_widget'),
  16. 'choice_widget_expanded' => array($this, 'block_choice_widget_expanded'),
  17. 'choice_widget_collapsed' => array($this, 'block_choice_widget_collapsed'),
  18. 'choice_widget_options' => array($this, 'block_choice_widget_options'),
  19. 'checkbox_widget' => array($this, 'block_checkbox_widget'),
  20. 'radio_widget' => array($this, 'block_radio_widget'),
  21. 'datetime_widget' => array($this, 'block_datetime_widget'),
  22. 'date_widget' => array($this, 'block_date_widget'),
  23. 'time_widget' => array($this, 'block_time_widget'),
  24. 'number_widget' => array($this, 'block_number_widget'),
  25. 'integer_widget' => array($this, 'block_integer_widget'),
  26. 'money_widget' => array($this, 'block_money_widget'),
  27. 'url_widget' => array($this, 'block_url_widget'),
  28. 'search_widget' => array($this, 'block_search_widget'),
  29. 'percent_widget' => array($this, 'block_percent_widget'),
  30. 'password_widget' => array($this, 'block_password_widget'),
  31. 'hidden_widget' => array($this, 'block_hidden_widget'),
  32. 'email_widget' => array($this, 'block_email_widget'),
  33. 'button_widget' => array($this, 'block_button_widget'),
  34. 'submit_widget' => array($this, 'block_submit_widget'),
  35. 'reset_widget' => array($this, 'block_reset_widget'),
  36. 'form_label' => array($this, 'block_form_label'),
  37. 'button_label' => array($this, 'block_button_label'),
  38. 'repeated_row' => array($this, 'block_repeated_row'),
  39. 'form_row' => array($this, 'block_form_row'),
  40. 'button_row' => array($this, 'block_button_row'),
  41. 'hidden_row' => array($this, 'block_hidden_row'),
  42. 'form' => array($this, 'block_form'),
  43. 'form_start' => array($this, 'block_form_start'),
  44. 'form_end' => array($this, 'block_form_end'),
  45. 'form_enctype' => array($this, 'block_form_enctype'),
  46. 'form_errors' => array($this, 'block_form_errors'),
  47. 'form_rest' => array($this, 'block_form_rest'),
  48. 'form_rows' => array($this, 'block_form_rows'),
  49. 'widget_attributes' => array($this, 'block_widget_attributes'),
  50. 'widget_container_attributes' => array($this, 'block_widget_container_attributes'),
  51. 'button_attributes' => array($this, 'block_button_attributes'),
  52. );
  53. }
  54. protected function doDisplay(array $context, array $blocks = array())
  55. {
  56. // line 2
  57. echo "
  58. ";
  59. // line 3
  60. $this->displayBlock('form_widget', $context, $blocks);
  61. // line 10
  62. echo "
  63. ";
  64. // line 11
  65. $this->displayBlock('form_widget_simple', $context, $blocks);
  66. // line 15
  67. echo "
  68. ";
  69. // line 16
  70. $this->displayBlock('form_widget_compound', $context, $blocks);
  71. // line 25
  72. echo "
  73. ";
  74. // line 26
  75. $this->displayBlock('collection_widget', $context, $blocks);
  76. // line 32
  77. echo "
  78. ";
  79. // line 33
  80. $this->displayBlock('textarea_widget', $context, $blocks);
  81. // line 36
  82. echo "
  83. ";
  84. // line 37
  85. $this->displayBlock('choice_widget', $context, $blocks);
  86. // line 44
  87. echo "
  88. ";
  89. // line 45
  90. $this->displayBlock('choice_widget_expanded', $context, $blocks);
  91. // line 53
  92. echo "
  93. ";
  94. // line 54
  95. $this->displayBlock('choice_widget_collapsed', $context, $blocks);
  96. // line 73
  97. echo "
  98. ";
  99. // line 74
  100. $this->displayBlock('choice_widget_options', $context, $blocks);
  101. // line 86
  102. echo "
  103. ";
  104. // line 87
  105. $this->displayBlock('checkbox_widget', $context, $blocks);
  106. // line 90
  107. echo "
  108. ";
  109. // line 91
  110. $this->displayBlock('radio_widget', $context, $blocks);
  111. // line 94
  112. echo "
  113. ";
  114. // line 95
  115. $this->displayBlock('datetime_widget', $context, $blocks);
  116. // line 107
  117. echo "
  118. ";
  119. // line 108
  120. $this->displayBlock('date_widget', $context, $blocks);
  121. // line 121
  122. echo "
  123. ";
  124. // line 122
  125. $this->displayBlock('time_widget', $context, $blocks);
  126. // line 132
  127. echo "
  128. ";
  129. // line 133
  130. $this->displayBlock('number_widget', $context, $blocks);
  131. // line 138
  132. echo "
  133. ";
  134. // line 139
  135. $this->displayBlock('integer_widget', $context, $blocks);
  136. // line 143
  137. echo "
  138. ";
  139. // line 144
  140. $this->displayBlock('money_widget', $context, $blocks);
  141. // line 147
  142. echo "
  143. ";
  144. // line 148
  145. $this->displayBlock('url_widget', $context, $blocks);
  146. // line 152
  147. echo "
  148. ";
  149. // line 153
  150. $this->displayBlock('search_widget', $context, $blocks);
  151. // line 157
  152. echo "
  153. ";
  154. // line 158
  155. $this->displayBlock('percent_widget', $context, $blocks);
  156. // line 162
  157. echo "
  158. ";
  159. // line 163
  160. $this->displayBlock('password_widget', $context, $blocks);
  161. // line 167
  162. echo "
  163. ";
  164. // line 168
  165. $this->displayBlock('hidden_widget', $context, $blocks);
  166. // line 173
  167. $this->displayBlock('email_widget', $context, $blocks);
  168. // line 177
  169. echo "
  170. ";
  171. // line 178
  172. $this->displayBlock('button_widget', $context, $blocks);
  173. // line 184
  174. echo "
  175. ";
  176. // line 185
  177. $this->displayBlock('submit_widget', $context, $blocks);
  178. // line 189
  179. echo "
  180. ";
  181. // line 190
  182. $this->displayBlock('reset_widget', $context, $blocks);
  183. // line 194
  184. echo "
  185. ";
  186. // line 196
  187. echo "
  188. ";
  189. // line 197
  190. $this->displayBlock('form_label', $context, $blocks);
  191. // line 211
  192. echo "
  193. ";
  194. // line 212
  195. $this->displayBlock('button_label', $context, $blocks);
  196. // line 213
  197. echo "
  198. ";
  199. // line 215
  200. echo "
  201. ";
  202. // line 216
  203. $this->displayBlock('repeated_row', $context, $blocks);
  204. // line 223
  205. echo "
  206. ";
  207. // line 224
  208. $this->displayBlock('form_row', $context, $blocks);
  209. // line 231
  210. echo "
  211. ";
  212. // line 232
  213. $this->displayBlock('button_row', $context, $blocks);
  214. // line 237
  215. echo "
  216. ";
  217. // line 238
  218. $this->displayBlock('hidden_row', $context, $blocks);
  219. // line 241
  220. echo "
  221. ";
  222. // line 243
  223. echo "
  224. ";
  225. // line 244
  226. $this->displayBlock('form', $context, $blocks);
  227. // line 249
  228. echo "
  229. ";
  230. // line 250
  231. $this->displayBlock('form_start', $context, $blocks);
  232. // line 262
  233. echo "
  234. ";
  235. // line 263
  236. $this->displayBlock('form_end', $context, $blocks);
  237. // line 269
  238. echo "
  239. ";
  240. // line 270
  241. $this->displayBlock('form_enctype', $context, $blocks);
  242. // line 273
  243. echo "
  244. ";
  245. // line 274
  246. $this->displayBlock('form_errors', $context, $blocks);
  247. // line 283
  248. echo "
  249. ";
  250. // line 284
  251. $this->displayBlock('form_rest', $context, $blocks);
  252. // line 291
  253. echo "
  254. ";
  255. // line 293
  256. echo "
  257. ";
  258. // line 294
  259. $this->displayBlock('form_rows', $context, $blocks);
  260. // line 299
  261. echo "
  262. ";
  263. // line 300
  264. $this->displayBlock('widget_attributes', $context, $blocks);
  265. // line 316
  266. echo "
  267. ";
  268. // line 317
  269. $this->displayBlock('widget_container_attributes', $context, $blocks);
  270. // line 330
  271. echo "
  272. ";
  273. // line 331
  274. $this->displayBlock('button_attributes', $context, $blocks);
  275. }
  276. // line 3
  277. public function block_form_widget($context, array $blocks = array())
  278. {
  279. // line 4
  280. if ((isset($context["compound"]) ? $context["compound"] : $this->getContext($context, "compound"))) {
  281. // line 5
  282. $this->displayBlock("form_widget_compound", $context, $blocks);
  283. } else {
  284. // line 7
  285. $this->displayBlock("form_widget_simple", $context, $blocks);
  286. }
  287. }
  288. // line 11
  289. public function block_form_widget_simple($context, array $blocks = array())
  290. {
  291. // line 12
  292. $context["type"] = ((array_key_exists("type", $context)) ? (_twig_default_filter((isset($context["type"]) ? $context["type"] : $this->getContext($context, "type")), "text")) : ("text"));
  293. // line 13
  294. echo "<input type=\"";
  295. echo twig_escape_filter($this->env, (isset($context["type"]) ? $context["type"] : $this->getContext($context, "type")), "html", null, true);
  296. echo "\" ";
  297. $this->displayBlock("widget_attributes", $context, $blocks);
  298. echo " ";
  299. if ((!twig_test_empty((isset($context["value"]) ? $context["value"] : $this->getContext($context, "value"))))) {
  300. echo "value=\"";
  301. echo twig_escape_filter($this->env, (isset($context["value"]) ? $context["value"] : $this->getContext($context, "value")), "html", null, true);
  302. echo "\" ";
  303. }
  304. echo "/>";
  305. }
  306. // line 16
  307. public function block_form_widget_compound($context, array $blocks = array())
  308. {
  309. // line 17
  310. echo "<div ";
  311. $this->displayBlock("widget_container_attributes", $context, $blocks);
  312. echo ">";
  313. // line 18
  314. if (twig_test_empty($this->getAttribute((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), "parent"))) {
  315. // line 19
  316. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), 'errors');
  317. }
  318. // line 21
  319. $this->displayBlock("form_rows", $context, $blocks);
  320. // line 22
  321. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), 'rest');
  322. // line 23
  323. echo "</div>";
  324. }
  325. // line 26
  326. public function block_collection_widget($context, array $blocks = array())
  327. {
  328. // line 27
  329. if (array_key_exists("prototype", $context)) {
  330. // line 28
  331. $context["attr"] = twig_array_merge((isset($context["attr"]) ? $context["attr"] : $this->getContext($context, "attr")), array("data-prototype" => $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["prototype"]) ? $context["prototype"] : $this->getContext($context, "prototype")), 'row')));
  332. }
  333. // line 30
  334. $this->displayBlock("form_widget", $context, $blocks);
  335. }
  336. // line 33
  337. public function block_textarea_widget($context, array $blocks = array())
  338. {
  339. // line 34
  340. echo "<textarea ";
  341. $this->displayBlock("widget_attributes", $context, $blocks);
  342. echo ">";
  343. echo twig_escape_filter($this->env, (isset($context["value"]) ? $context["value"] : $this->getContext($context, "value")), "html", null, true);
  344. echo "</textarea>";
  345. }
  346. // line 37
  347. public function block_choice_widget($context, array $blocks = array())
  348. {
  349. // line 38
  350. if ((isset($context["expanded"]) ? $context["expanded"] : $this->getContext($context, "expanded"))) {
  351. // line 39
  352. $this->displayBlock("choice_widget_expanded", $context, $blocks);
  353. } else {
  354. // line 41
  355. $this->displayBlock("choice_widget_collapsed", $context, $blocks);
  356. }
  357. }
  358. // line 45
  359. public function block_choice_widget_expanded($context, array $blocks = array())
  360. {
  361. // line 46
  362. echo "<div ";
  363. $this->displayBlock("widget_container_attributes", $context, $blocks);
  364. echo ">";
  365. // line 47
  366. $context['_parent'] = (array) $context;
  367. $context['_seq'] = twig_ensure_traversable((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")));
  368. foreach ($context['_seq'] as $context["_key"] => $context["child"]) {
  369. // line 48
  370. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["child"]) ? $context["child"] : $this->getContext($context, "child")), 'widget');
  371. // line 49
  372. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["child"]) ? $context["child"] : $this->getContext($context, "child")), 'label');
  373. }
  374. $_parent = $context['_parent'];
  375. unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']);
  376. $context = array_intersect_key($context, $_parent) + $_parent;
  377. // line 51
  378. echo "</div>
  379. ";
  380. }
  381. // line 54
  382. public function block_choice_widget_collapsed($context, array $blocks = array())
  383. {
  384. // line 55
  385. if (((((isset($context["required"]) ? $context["required"] : $this->getContext($context, "required")) && (null === (isset($context["empty_value"]) ? $context["empty_value"] : $this->getContext($context, "empty_value")))) && (!(isset($context["empty_value_in_choices"]) ? $context["empty_value_in_choices"] : $this->getContext($context, "empty_value_in_choices")))) && (!(isset($context["multiple"]) ? $context["multiple"] : $this->getContext($context, "multiple"))))) {
  386. // line 56
  387. $context["required"] = false;
  388. }
  389. // line 58
  390. echo "<select ";
  391. $this->displayBlock("widget_attributes", $context, $blocks);
  392. if ((isset($context["multiple"]) ? $context["multiple"] : $this->getContext($context, "multiple"))) {
  393. echo " multiple=\"multiple\"";
  394. }
  395. echo ">
  396. ";
  397. // line 59
  398. if ((!(null === (isset($context["empty_value"]) ? $context["empty_value"] : $this->getContext($context, "empty_value"))))) {
  399. // line 60
  400. echo "<option value=\"\"";
  401. if (((isset($context["required"]) ? $context["required"] : $this->getContext($context, "required")) && twig_test_empty((isset($context["value"]) ? $context["value"] : $this->getContext($context, "value"))))) {
  402. echo " selected=\"selected\"";
  403. }
  404. echo ">";
  405. echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans((isset($context["empty_value"]) ? $context["empty_value"] : $this->getContext($context, "empty_value")), array(), (isset($context["translation_domain"]) ? $context["translation_domain"] : $this->getContext($context, "translation_domain"))), "html", null, true);
  406. echo "</option>";
  407. }
  408. // line 62
  409. if ((twig_length_filter($this->env, (isset($context["preferred_choices"]) ? $context["preferred_choices"] : $this->getContext($context, "preferred_choices"))) > 0)) {
  410. // line 63
  411. $context["options"] = (isset($context["preferred_choices"]) ? $context["preferred_choices"] : $this->getContext($context, "preferred_choices"));
  412. // line 64
  413. $this->displayBlock("choice_widget_options", $context, $blocks);
  414. // line 65
  415. if (((twig_length_filter($this->env, (isset($context["choices"]) ? $context["choices"] : $this->getContext($context, "choices"))) > 0) && (!(null === (isset($context["separator"]) ? $context["separator"] : $this->getContext($context, "separator")))))) {
  416. // line 66
  417. echo "<option disabled=\"disabled\">";
  418. echo twig_escape_filter($this->env, (isset($context["separator"]) ? $context["separator"] : $this->getContext($context, "separator")), "html", null, true);
  419. echo "</option>";
  420. }
  421. }
  422. // line 69
  423. $context["options"] = (isset($context["choices"]) ? $context["choices"] : $this->getContext($context, "choices"));
  424. // line 70
  425. $this->displayBlock("choice_widget_options", $context, $blocks);
  426. // line 71
  427. echo "</select>";
  428. }
  429. // line 74
  430. public function block_choice_widget_options($context, array $blocks = array())
  431. {
  432. // line 75
  433. $context['_parent'] = (array) $context;
  434. $context['_seq'] = twig_ensure_traversable((isset($context["options"]) ? $context["options"] : $this->getContext($context, "options")));
  435. $context['loop'] = array(
  436. 'parent' => $context['_parent'],
  437. 'index0' => 0,
  438. 'index' => 1,
  439. 'first' => true,
  440. );
  441. if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
  442. $length = count($context['_seq']);
  443. $context['loop']['revindex0'] = $length - 1;
  444. $context['loop']['revindex'] = $length;
  445. $context['loop']['length'] = $length;
  446. $context['loop']['last'] = 1 === $length;
  447. }
  448. foreach ($context['_seq'] as $context["group_label"] => $context["choice"]) {
  449. // line 76
  450. if (twig_test_iterable((isset($context["choice"]) ? $context["choice"] : $this->getContext($context, "choice")))) {
  451. // line 77
  452. echo "<optgroup label=\"";
  453. echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans((isset($context["group_label"]) ? $context["group_label"] : $this->getContext($context, "group_label")), array(), (isset($context["translation_domain"]) ? $context["translation_domain"] : $this->getContext($context, "translation_domain"))), "html", null, true);
  454. echo "\">
  455. ";
  456. // line 78
  457. $context["options"] = (isset($context["choice"]) ? $context["choice"] : $this->getContext($context, "choice"));
  458. // line 79
  459. $this->displayBlock("choice_widget_options", $context, $blocks);
  460. // line 80
  461. echo "</optgroup>";
  462. } else {
  463. // line 82
  464. echo "<option value=\"";
  465. echo twig_escape_filter($this->env, $this->getAttribute((isset($context["choice"]) ? $context["choice"] : $this->getContext($context, "choice")), "value"), "html", null, true);
  466. echo "\"";
  467. if ($this->env->getExtension('form')->isSelectedChoice((isset($context["choice"]) ? $context["choice"] : $this->getContext($context, "choice")), (isset($context["value"]) ? $context["value"] : $this->getContext($context, "value")))) {
  468. echo " selected=\"selected\"";
  469. }
  470. echo ">";
  471. echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans($this->getAttribute((isset($context["choice"]) ? $context["choice"] : $this->getContext($context, "choice")), "label"), array(), (isset($context["translation_domain"]) ? $context["translation_domain"] : $this->getContext($context, "translation_domain"))), "html", null, true);
  472. echo "</option>";
  473. }
  474. ++$context['loop']['index0'];
  475. ++$context['loop']['index'];
  476. $context['loop']['first'] = false;
  477. if (isset($context['loop']['length'])) {
  478. --$context['loop']['revindex0'];
  479. --$context['loop']['revindex'];
  480. $context['loop']['last'] = 0 === $context['loop']['revindex0'];
  481. }
  482. }
  483. $_parent = $context['_parent'];
  484. unset($context['_seq'], $context['_iterated'], $context['group_label'], $context['choice'], $context['_parent'], $context['loop']);
  485. $context = array_intersect_key($context, $_parent) + $_parent;
  486. }
  487. // line 87
  488. public function block_checkbox_widget($context, array $blocks = array())
  489. {
  490. // line 88
  491. echo "<input type=\"checkbox\" ";
  492. $this->displayBlock("widget_attributes", $context, $blocks);
  493. if (array_key_exists("value", $context)) {
  494. echo " value=\"";
  495. echo twig_escape_filter($this->env, (isset($context["value"]) ? $context["value"] : $this->getContext($context, "value")), "html", null, true);
  496. echo "\"";
  497. }
  498. if ((isset($context["checked"]) ? $context["checked"] : $this->getContext($context, "checked"))) {
  499. echo " checked=\"checked\"";
  500. }
  501. echo " />";
  502. }
  503. // line 91
  504. public function block_radio_widget($context, array $blocks = array())
  505. {
  506. // line 92
  507. echo "<input type=\"radio\" ";
  508. $this->displayBlock("widget_attributes", $context, $blocks);
  509. if (array_key_exists("value", $context)) {
  510. echo " value=\"";
  511. echo twig_escape_filter($this->env, (isset($context["value"]) ? $context["value"] : $this->getContext($context, "value")), "html", null, true);
  512. echo "\"";
  513. }
  514. if ((isset($context["checked"]) ? $context["checked"] : $this->getContext($context, "checked"))) {
  515. echo " checked=\"checked\"";
  516. }
  517. echo " />";
  518. }
  519. // line 95
  520. public function block_datetime_widget($context, array $blocks = array())
  521. {
  522. // line 96
  523. if (((isset($context["widget"]) ? $context["widget"] : $this->getContext($context, "widget")) == "single_text")) {
  524. // line 97
  525. $this->displayBlock("form_widget_simple", $context, $blocks);
  526. } else {
  527. // line 99
  528. echo " <div ";
  529. $this->displayBlock("widget_container_attributes", $context, $blocks);
  530. echo ">";
  531. // line 100
  532. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), "date"), 'errors');
  533. // line 101
  534. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), "time"), 'errors');
  535. // line 102
  536. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), "date"), 'widget');
  537. // line 103
  538. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), "time"), 'widget');
  539. // line 104
  540. echo "</div>
  541. ";
  542. }
  543. }
  544. // line 108
  545. public function block_date_widget($context, array $blocks = array())
  546. {
  547. // line 109
  548. if (((isset($context["widget"]) ? $context["widget"] : $this->getContext($context, "widget")) == "single_text")) {
  549. // line 110
  550. $this->displayBlock("form_widget_simple", $context, $blocks);
  551. } else {
  552. // line 112
  553. echo "<div ";
  554. $this->displayBlock("widget_container_attributes", $context, $blocks);
  555. echo ">";
  556. // line 113
  557. echo strtr((isset($context["date_pattern"]) ? $context["date_pattern"] : $this->getContext($context, "date_pattern")), array("{{ year }}" => // line 114
  558. $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), "year"), 'widget'), "{{ month }}" => // line 115
  559. $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), "month"), 'widget'), "{{ day }}" => // line 116
  560. $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), "day"), 'widget')));
  561. // line 118
  562. echo "</div>";
  563. }
  564. }
  565. // line 122
  566. public function block_time_widget($context, array $blocks = array())
  567. {
  568. // line 123
  569. if (((isset($context["widget"]) ? $context["widget"] : $this->getContext($context, "widget")) == "single_text")) {
  570. // line 124
  571. $this->displayBlock("form_widget_simple", $context, $blocks);
  572. } else {
  573. // line 126
  574. $context["vars"] = ((((isset($context["widget"]) ? $context["widget"] : $this->getContext($context, "widget")) == "text")) ? (array("attr" => array("size" => 1))) : (array()));
  575. // line 127
  576. echo " <div ";
  577. $this->displayBlock("widget_container_attributes", $context, $blocks);
  578. echo ">
  579. ";
  580. // line 128
  581. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), "hour"), 'widget', (isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")));
  582. if ((isset($context["with_minutes"]) ? $context["with_minutes"] : $this->getContext($context, "with_minutes"))) {
  583. echo ":";
  584. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), "minute"), 'widget', (isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")));
  585. }
  586. if ((isset($context["with_seconds"]) ? $context["with_seconds"] : $this->getContext($context, "with_seconds"))) {
  587. echo ":";
  588. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), "second"), 'widget', (isset($context["vars"]) ? $context["vars"] : $this->getContext($context, "vars")));
  589. }
  590. // line 129
  591. echo " </div>";
  592. }
  593. }
  594. // line 133
  595. public function block_number_widget($context, array $blocks = array())
  596. {
  597. // line 135
  598. echo " ";
  599. $context["type"] = ((array_key_exists("type", $context)) ? (_twig_default_filter((isset($context["type"]) ? $context["type"] : $this->getContext($context, "type")), "text")) : ("text"));
  600. // line 136
  601. $this->displayBlock("form_widget_simple", $context, $blocks);
  602. }
  603. // line 139
  604. public function block_integer_widget($context, array $blocks = array())
  605. {
  606. // line 140
  607. $context["type"] = ((array_key_exists("type", $context)) ? (_twig_default_filter((isset($context["type"]) ? $context["type"] : $this->getContext($context, "type")), "number")) : ("number"));
  608. // line 141
  609. $this->displayBlock("form_widget_simple", $context, $blocks);
  610. }
  611. // line 144
  612. public function block_money_widget($context, array $blocks = array())
  613. {
  614. // line 145
  615. echo strtr((isset($context["money_pattern"]) ? $context["money_pattern"] : $this->getContext($context, "money_pattern")), array("{{ widget }}" => $this->renderBlock("form_widget_simple", $context, $blocks)));
  616. }
  617. // line 148
  618. public function block_url_widget($context, array $blocks = array())
  619. {
  620. // line 149
  621. $context["type"] = ((array_key_exists("type", $context)) ? (_twig_default_filter((isset($context["type"]) ? $context["type"] : $this->getContext($context, "type")), "url")) : ("url"));
  622. // line 150
  623. $this->displayBlock("form_widget_simple", $context, $blocks);
  624. }
  625. // line 153
  626. public function block_search_widget($context, array $blocks = array())
  627. {
  628. // line 154
  629. $context["type"] = ((array_key_exists("type", $context)) ? (_twig_default_filter((isset($context["type"]) ? $context["type"] : $this->getContext($context, "type")), "search")) : ("search"));
  630. // line 155
  631. $this->displayBlock("form_widget_simple", $context, $blocks);
  632. }
  633. // line 158
  634. public function block_percent_widget($context, array $blocks = array())
  635. {
  636. // line 159
  637. $context["type"] = ((array_key_exists("type", $context)) ? (_twig_default_filter((isset($context["type"]) ? $context["type"] : $this->getContext($context, "type")), "text")) : ("text"));
  638. // line 160
  639. $this->displayBlock("form_widget_simple", $context, $blocks);
  640. echo "%";
  641. }
  642. // line 163
  643. public function block_password_widget($context, array $blocks = array())
  644. {
  645. // line 164
  646. $context["type"] = ((array_key_exists("type", $context)) ? (_twig_default_filter((isset($context["type"]) ? $context["type"] : $this->getContext($context, "type")), "password")) : ("password"));
  647. // line 165
  648. echo " ";
  649. $this->displayBlock("form_widget_simple", $context, $blocks);
  650. }
  651. // line 168
  652. public function block_hidden_widget($context, array $blocks = array())
  653. {
  654. // line 169
  655. $context["type"] = ((array_key_exists("type", $context)) ? (_twig_default_filter((isset($context["type"]) ? $context["type"] : $this->getContext($context, "type")), "hidden")) : ("hidden"));
  656. // line 170
  657. $this->displayBlock("form_widget_simple", $context, $blocks);
  658. }
  659. // line 173
  660. public function block_email_widget($context, array $blocks = array())
  661. {
  662. // line 174
  663. $context["type"] = ((array_key_exists("type", $context)) ? (_twig_default_filter((isset($context["type"]) ? $context["type"] : $this->getContext($context, "type")), "email")) : ("email"));
  664. // line 175
  665. $this->displayBlock("form_widget_simple", $context, $blocks);
  666. }
  667. // line 178
  668. public function block_button_widget($context, array $blocks = array())
  669. {
  670. // line 179
  671. if (twig_test_empty((isset($context["label"]) ? $context["label"] : $this->getContext($context, "label")))) {
  672. // line 180
  673. $context["label"] = $this->env->getExtension('form')->humanize((isset($context["name"]) ? $context["name"] : $this->getContext($context, "name")));
  674. }
  675. // line 182
  676. echo "<button type=\"";
  677. echo twig_escape_filter($this->env, ((array_key_exists("type", $context)) ? (_twig_default_filter((isset($context["type"]) ? $context["type"] : $this->getContext($context, "type")), "button")) : ("button")), "html", null, true);
  678. echo "\" ";
  679. $this->displayBlock("button_attributes", $context, $blocks);
  680. echo ">";
  681. echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans((isset($context["label"]) ? $context["label"] : $this->getContext($context, "label")), array(), (isset($context["translation_domain"]) ? $context["translation_domain"] : $this->getContext($context, "translation_domain"))), "html", null, true);
  682. echo "</button>";
  683. }
  684. // line 185
  685. public function block_submit_widget($context, array $blocks = array())
  686. {
  687. // line 186
  688. $context["type"] = ((array_key_exists("type", $context)) ? (_twig_default_filter((isset($context["type"]) ? $context["type"] : $this->getContext($context, "type")), "submit")) : ("submit"));
  689. // line 187
  690. $this->displayBlock("button_widget", $context, $blocks);
  691. }
  692. // line 190
  693. public function block_reset_widget($context, array $blocks = array())
  694. {
  695. // line 191
  696. $context["type"] = ((array_key_exists("type", $context)) ? (_twig_default_filter((isset($context["type"]) ? $context["type"] : $this->getContext($context, "type")), "reset")) : ("reset"));
  697. // line 192
  698. $this->displayBlock("button_widget", $context, $blocks);
  699. }
  700. // line 197
  701. public function block_form_label($context, array $blocks = array())
  702. {
  703. // line 198
  704. if ((!((isset($context["label"]) ? $context["label"] : $this->getContext($context, "label")) === false))) {
  705. // line 199
  706. if ((!(isset($context["compound"]) ? $context["compound"] : $this->getContext($context, "compound")))) {
  707. // line 200
  708. $context["label_attr"] = twig_array_merge((isset($context["label_attr"]) ? $context["label_attr"] : $this->getContext($context, "label_attr")), array("for" => (isset($context["id"]) ? $context["id"] : $this->getContext($context, "id"))));
  709. }
  710. // line 202
  711. echo " ";
  712. if ((isset($context["required"]) ? $context["required"] : $this->getContext($context, "required"))) {
  713. // line 203
  714. $context["label_attr"] = twig_array_merge((isset($context["label_attr"]) ? $context["label_attr"] : $this->getContext($context, "label_attr")), array("class" => trim(((($this->getAttribute((isset($context["label_attr"]) ? $context["label_attr"] : null), "class", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute((isset($context["label_attr"]) ? $context["label_attr"] : null), "class"), "")) : ("")) . " required"))));
  715. }
  716. // line 205
  717. echo " ";
  718. if (twig_test_empty((isset($context["label"]) ? $context["label"] : $this->getContext($context, "label")))) {
  719. // line 206
  720. $context["label"] = $this->env->getExtension('form')->humanize((isset($context["name"]) ? $context["name"] : $this->getContext($context, "name")));
  721. }
  722. // line 208
  723. echo "<label";
  724. $context['_parent'] = (array) $context;
  725. $context['_seq'] = twig_ensure_traversable((isset($context["label_attr"]) ? $context["label_attr"] : $this->getContext($context, "label_attr")));
  726. foreach ($context['_seq'] as $context["attrname"] => $context["attrvalue"]) {
  727. echo " ";
  728. echo twig_escape_filter($this->env, (isset($context["attrname"]) ? $context["attrname"] : $this->getContext($context, "attrname")), "html", null, true);
  729. echo "=\"";
  730. echo twig_escape_filter($this->env, (isset($context["attrvalue"]) ? $context["attrvalue"] : $this->getContext($context, "attrvalue")), "html", null, true);
  731. echo "\"";
  732. }
  733. $_parent = $context['_parent'];
  734. unset($context['_seq'], $context['_iterated'], $context['attrname'], $context['attrvalue'], $context['_parent'], $context['loop']);
  735. $context = array_intersect_key($context, $_parent) + $_parent;
  736. echo ">";
  737. echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans((isset($context["label"]) ? $context["label"] : $this->getContext($context, "label")), array(), (isset($context["translation_domain"]) ? $context["translation_domain"] : $this->getContext($context, "translation_domain"))), "html", null, true);
  738. echo "</label>";
  739. }
  740. }
  741. // line 212
  742. public function block_button_label($context, array $blocks = array())
  743. {
  744. }
  745. // line 216
  746. public function block_repeated_row($context, array $blocks = array())
  747. {
  748. // line 221
  749. $this->displayBlock("form_rows", $context, $blocks);
  750. }
  751. // line 224
  752. public function block_form_row($context, array $blocks = array())
  753. {
  754. // line 225
  755. echo "<div>";
  756. // line 226
  757. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), 'label');
  758. // line 227
  759. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), 'errors');
  760. // line 228
  761. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), 'widget');
  762. // line 229
  763. echo "</div>";
  764. }
  765. // line 232
  766. public function block_button_row($context, array $blocks = array())
  767. {
  768. // line 233
  769. echo "<div>";
  770. // line 234
  771. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), 'widget');
  772. // line 235
  773. echo "</div>";
  774. }
  775. // line 238
  776. public function block_hidden_row($context, array $blocks = array())
  777. {
  778. // line 239
  779. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), 'widget');
  780. }
  781. // line 244
  782. public function block_form($context, array $blocks = array())
  783. {
  784. // line 245
  785. echo $this->env->getExtension('form')->renderer->renderBlock((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), 'form_start');
  786. // line 246
  787. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), 'widget');
  788. // line 247
  789. echo $this->env->getExtension('form')->renderer->renderBlock((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), 'form_end');
  790. }
  791. // line 250
  792. public function block_form_start($context, array $blocks = array())
  793. {
  794. // line 251
  795. $context["method"] = twig_upper_filter($this->env, (isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")));
  796. // line 252
  797. if (twig_in_filter((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), array(0 => "GET", 1 => "POST"))) {
  798. // line 253
  799. $context["form_method"] = (isset($context["method"]) ? $context["method"] : $this->getContext($context, "method"));
  800. } else {
  801. // line 255
  802. $context["form_method"] = "POST";
  803. }
  804. // line 257
  805. echo "<form name=\"";
  806. echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), "vars"), "name"), "html", null, true);
  807. echo "\" method=\"";
  808. echo twig_escape_filter($this->env, twig_lower_filter($this->env, (isset($context["form_method"]) ? $context["form_method"] : $this->getContext($context, "form_method"))), "html", null, true);
  809. echo "\" action=\"";
  810. echo twig_escape_filter($this->env, (isset($context["action"]) ? $context["action"] : $this->getContext($context, "action")), "html", null, true);
  811. echo "\"";
  812. $context['_parent'] = (array) $context;
  813. $context['_seq'] = twig_ensure_traversable((isset($context["attr"]) ? $context["attr"] : $this->getContext($context, "attr")));
  814. foreach ($context['_seq'] as $context["attrname"] => $context["attrvalue"]) {
  815. echo " ";
  816. echo twig_escape_filter($this->env, (isset($context["attrname"]) ? $context["attrname"] : $this->getContext($context, "attrname")), "html", null, true);
  817. echo "=\"";
  818. echo twig_escape_filter($this->env, (isset($context["attrvalue"]) ? $context["attrvalue"] : $this->getContext($context, "attrvalue")), "html", null, true);
  819. echo "\"";
  820. }
  821. $_parent = $context['_parent'];
  822. unset($context['_seq'], $context['_iterated'], $context['attrname'], $context['attrvalue'], $context['_parent'], $context['loop']);
  823. $context = array_intersect_key($context, $_parent) + $_parent;
  824. if ((isset($context["multipart"]) ? $context["multipart"] : $this->getContext($context, "multipart"))) {
  825. echo " enctype=\"multipart/form-data\"";
  826. }
  827. echo ">";
  828. // line 258
  829. if (((isset($context["form_method"]) ? $context["form_method"] : $this->getContext($context, "form_method")) != (isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")))) {
  830. // line 259
  831. echo "<input type=\"hidden\" name=\"_method\" value=\"";
  832. echo twig_escape_filter($this->env, (isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "html", null, true);
  833. echo "\" />";
  834. }
  835. }
  836. // line 263
  837. public function block_form_end($context, array $blocks = array())
  838. {
  839. // line 264
  840. if (((!array_key_exists("render_rest", $context)) || (isset($context["render_rest"]) ? $context["render_rest"] : $this->getContext($context, "render_rest")))) {
  841. // line 265
  842. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")), 'rest');
  843. }
  844. // line 267
  845. echo "</form>";
  846. }
  847. // line 270
  848. public function block_form_enctype($context, array $blocks = array())
  849. {
  850. // line 271
  851. if ((isset($context["multipart"]) ? $context["multipart"] : $this->getContext($context, "multipart"))) {
  852. echo "enctype=\"multipart/form-data\"";
  853. }
  854. }
  855. // line 274
  856. public function block_form_errors($context, array $blocks = array())
  857. {
  858. // line 275
  859. if ((twig_length_filter($this->env, (isset($context["errors"]) ? $context["errors"] : $this->getContext($context, "errors"))) > 0)) {
  860. // line 276
  861. echo "<ul>";
  862. // line 277
  863. $context['_parent'] = (array) $context;
  864. $context['_seq'] = twig_ensure_traversable((isset($context["errors"]) ? $context["errors"] : $this->getContext($context, "errors")));
  865. foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  866. // line 278
  867. echo "<li>";
  868. echo twig_escape_filter($this->env, $this->getAttribute((isset($context["error"]) ? $context["error"] : $this->getContext($context, "error")), "message"), "html", null, true);
  869. echo "</li>";
  870. }
  871. $_parent = $context['_parent'];
  872. unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  873. $context = array_intersect_key($context, $_parent) + $_parent;
  874. // line 280
  875. echo "</ul>";
  876. }
  877. }
  878. // line 284
  879. public function block_form_rest($context, array $blocks = array())
  880. {
  881. // line 285
  882. $context['_parent'] = (array) $context;
  883. $context['_seq'] = twig_ensure_traversable((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")));
  884. foreach ($context['_seq'] as $context["_key"] => $context["child"]) {
  885. // line 286
  886. if ((!$this->getAttribute((isset($context["child"]) ? $context["child"] : $this->getContext($context, "child")), "rendered"))) {
  887. // line 287
  888. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["child"]) ? $context["child"] : $this->getContext($context, "child")), 'row');
  889. }
  890. }
  891. $_parent = $context['_parent'];
  892. unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']);
  893. $context = array_intersect_key($context, $_parent) + $_parent;
  894. }
  895. // line 294
  896. public function block_form_rows($context, array $blocks = array())
  897. {
  898. // line 295
  899. $context['_parent'] = (array) $context;
  900. $context['_seq'] = twig_ensure_traversable((isset($context["form"]) ? $context["form"] : $this->getContext($context, "form")));
  901. foreach ($context['_seq'] as $context["_key"] => $context["child"]) {
  902. // line 296
  903. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["child"]) ? $context["child"] : $this->getContext($context, "child")), 'row');
  904. }
  905. $_parent = $context['_parent'];
  906. unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']);
  907. $context = array_intersect_key($context, $_parent) + $_parent;
  908. }
  909. // line 300
  910. public function block_widget_attributes($context, array $blocks = array())
  911. {
  912. // line 301
  913. echo "id=\"";
  914. echo twig_escape_filter($this->env, (isset($context["id"]) ? $context["id"] : $this->getContext($context, "id")), "html", null, true);
  915. echo "\" name=\"";
  916. echo twig_escape_filter($this->env, (isset($context["full_name"]) ? $context["full_name"] : $this->getContext($context, "full_name")), "html", null, true);
  917. echo "\"";
  918. // line 302
  919. if ((isset($context["read_only"]) ? $context["read_only"] : $this->getContext($context, "read_only"))) {
  920. echo " readonly=\"readonly\"";
  921. }
  922. // line 303
  923. if ((isset($context["disabled"]) ? $context["disabled"] : $this->getContext($context, "disabled"))) {
  924. echo " disabled=\"disabled\"";
  925. }
  926. // line 304
  927. if ((isset($context["required"]) ? $context["required"] : $this->getContext($context, "required"))) {
  928. echo " required=\"required\"";
  929. }
  930. // line 305
  931. $context['_parent'] = (array) $context;
  932. $context['_seq'] = twig_ensure_traversable((isset($context["attr"]) ? $context["attr"] : $this->getContext($context, "attr")));
  933. foreach ($context['_seq'] as $context["attrname"] => $context["attrvalue"]) {
  934. // line 306
  935. echo " ";
  936. // line 307
  937. if (twig_in_filter((isset($context["attrname"]) ? $context["attrname"] : $this->getContext($context, "attrname")), array(0 => "placeholder", 1 => "title"))) {
  938. // line 308
  939. echo twig_escape_filter($this->env, (isset($context["attrname"]) ? $context["attrname"] : $this->getContext($context, "attrname")), "html", null, true);
  940. echo "=\"";
  941. echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans((isset($context["attrvalue"]) ? $context["attrvalue"] : $this->getContext($context, "attrvalue")), array(), (isset($context["translation_domain"]) ? $context["translation_domain"] : $this->getContext($context, "translation_domain"))), "html", null, true);
  942. echo "\"";
  943. } elseif (((isset($context["attrvalue"]) ? $context["attrvalue"] : $this->getContext($context, "attrvalue")) === true)) {
  944. // line 310
  945. echo twig_escape_filter($this->env, (isset($context["attrname"]) ? $context["attrname"] : $this->getContext($context, "attrname")), "html", null, true);
  946. echo "=\"";
  947. echo twig_escape_filter($this->env, (isset($context["attrname"]) ? $context["attrname"] : $this->getContext($context, "attrname")), "html", null, true);
  948. echo "\"";
  949. } elseif ((!((isset($context["attrvalue"]) ? $context["attrvalue"] : $this->getContext($context, "attrvalue")) === false))) {
  950. // line 312
  951. echo twig_escape_filter($this->env, (isset($context["attrname"]) ? $context["attrname"] : $this->getContext($context, "attrname")), "html", null, true);
  952. echo "=\"";
  953. echo twig_escape_filter($this->env, (isset($context["attrvalue"]) ? $context["attrvalue"] : $this->getContext($context, "attrvalue")), "html", null, true);
  954. echo "\"";
  955. }
  956. }
  957. $_parent = $context['_parent'];
  958. unset($context['_seq'], $context['_iterated'], $context['attrname'], $context['attrvalue'], $context['_parent'], $context['loop']);
  959. $context = array_intersect_key($context, $_parent) + $_parent;
  960. }
  961. // line 317
  962. public function block_widget_container_attributes($context, array $blocks = array())
  963. {
  964. // line 318
  965. if ((!twig_test_empty((isset($context["id"]) ? $context["id"] : $this->getContext($context, "id"))))) {
  966. echo "id=\"";
  967. echo twig_escape_filter($this->env, (isset($context["id"]) ? $context["id"] : $this->getContext($context, "id")), "html", null, true);
  968. echo "\"";
  969. }
  970. // line 319
  971. $context['_parent'] = (array) $context;
  972. $context['_seq'] = twig_ensure_traversable((isset($context["attr"]) ? $context["attr"] : $this->getContext($context, "attr")));
  973. foreach ($context['_seq'] as $context["attrname"] => $context["attrvalue"]) {
  974. // line 320
  975. echo " ";
  976. // line 321
  977. if (twig_in_filter((isset($context["attrname"]) ? $context["attrname"] : $this->getContext($context, "attrname")), array(0 => "placeholder", 1 => "title"))) {
  978. // line 322
  979. echo twig_escape_filter($this->env, (isset($context["attrname"]) ? $context["attrname"] : $this->getContext($context, "attrname")), "html", null, true);
  980. echo "=\"";
  981. echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans((isset($context["attrvalue"]) ? $context["attrvalue"] : $this->getContext($context, "attrvalue")), array(), (isset($context["translation_domain"]) ? $context["translation_domain"] : $this->getContext($context, "translation_domain"))), "html", null, true);
  982. echo "\"";
  983. } elseif (((isset($context["attrvalue"]) ? $context["attrvalue"] : $this->getContext($context, "attrvalue")) === true)) {
  984. // line 324
  985. echo twig_escape_filter($this->env, (isset($context["attrname"]) ? $context["attrname"] : $this->getContext($context, "attrname")), "html", null, true);
  986. echo "=\"";
  987. echo twig_escape_filter($this->env, (isset($context["attrname"]) ? $context["attrname"] : $this->getContext($context, "attrname")), "html", null, true);
  988. echo "\"";
  989. } elseif ((!((isset($context["attrvalue"]) ? $context["attrvalue"] : $this->getContext($context, "attrvalue")) === false))) {
  990. // line 326
  991. echo twig_escape_filter($this->env, (isset($context["attrname"]) ? $context["attrname"] : $this->getContext($context, "attrname")), "html", null, true);
  992. echo "=\"";
  993. echo twig_escape_filter($this->env, (isset($context["attrvalue"]) ? $context["attrvalue"] : $this->getContext($context, "attrvalue")), "html", null, true);
  994. echo "\"";
  995. }
  996. }
  997. $_parent = $context['_parent'];
  998. unset($context['_seq'], $context['_iterated'], $context['attrname'], $context['attrvalue'], $context['_parent'], $context['loop']);
  999. $context = array_intersect_key($context, $_parent) + $_parent;
  1000. }
  1001. // line 331
  1002. public function block_button_attributes($context, array $blocks = array())
  1003. {
  1004. // line 332
  1005. echo "id=\"";
  1006. echo twig_escape_filter($this->env, (isset($context["id"]) ? $context["id"] : $this->getContext($context, "id")), "html", null, true);
  1007. echo "\" name=\"";
  1008. echo twig_escape_filter($this->env, (isset($context["full_name"]) ? $context["full_name"] : $this->getContext($context, "full_name")), "html", null, true);
  1009. echo "\"";
  1010. if ((isset($context["disabled"]) ? $context["disabled"] : $this->getContext($context, "disabled"))) {
  1011. echo " disabled=\"disabled\"";
  1012. }
  1013. // line 333
  1014. $context['_parent'] = (array) $context;
  1015. $context['_seq'] = twig_ensure_traversable((isset($context["attr"]) ? $context["attr"] : $this->getContext($context, "attr")));
  1016. foreach ($context['_seq'] as $context["attrname"] => $context["attrvalue"]) {
  1017. // line 334
  1018. echo " ";
  1019. // line 335
  1020. if (twig_in_filter((isset($context["attrname"]) ? $context["attrname"] : $this->getContext($context, "attrname")), array(0 => "placeholder", 1 => "title"))) {
  1021. // line 336
  1022. echo twig_escape_filter($this->env, (isset($context["attrname"]) ? $context["attrname"] : $this->getContext($context, "attrname")), "html", null, true);
  1023. echo "=\"";
  1024. echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans((isset($context["attrvalue"]) ? $context["attrvalue"] : $this->getContext($context, "attrvalue")), array(), (isset($context["translation_domain"]) ? $context["translation_domain"] : $this->getContext($context, "translation_domain"))), "html", null, true);
  1025. echo "\"";
  1026. } elseif (((isset($context["attrvalue"]) ? $context["attrvalue"] : $this->getContext($context, "attrvalue")) === true)) {
  1027. // line 338
  1028. echo twig_escape_filter($this->env, (isset($context["attrname"]) ? $context["attrname"] : $this->getContext($context, "attrname")), "html", null, true);
  1029. echo "=\"";
  1030. echo twig_escape_filter($this->env, (isset($context["attrname"]) ? $context["attrname"] : $this->getContext($context, "attrname")), "html", null, true);
  1031. echo "\"";
  1032. } elseif ((!((isset($context["attrvalue"]) ? $context["attrvalue"] : $this->getContext($context, "attrvalue")) === false))) {
  1033. // line 340
  1034. echo twig_escape_filter($this->env, (isset($context["attrname"]) ? $context["attrname"] : $this->getContext($context, "attrname")), "html", null, true);
  1035. echo "=\"";
  1036. echo twig_escape_filter($this->env, (isset($context["attrvalue"]) ? $context["attrvalue"] : $this->getContext($context, "attrvalue")), "html", null, true);
  1037. echo "\"";
  1038. }
  1039. }
  1040. $_parent = $context['_parent'];
  1041. unset($context['_seq'], $context['_iterated'], $context['attrname'], $context['attrvalue'], $context['_parent'], $context['loop']);
  1042. $context = array_intersect_key($context, $_parent) + $_parent;
  1043. }
  1044. public function getTemplateName()
  1045. {
  1046. return "form_div_layout.html.twig";
  1047. }
  1048. public function getDebugInfo()
  1049. {
  1050. return array ( 1080 => 340, 1074 => 338, 1068 => 336, 1066 => 335, 1060 => 333, 1036 => 326, 1030 => 324, 1024 => 322, 1022 => 321, 1020 => 320, 1016 => 319, 1010 => 318, 1007 => 317, 995 => 312, 989 => 310, 983 => 308, 981 => 307, 979 => 306, 971 => 304, 957 => 301, 954 => 300, 946 => 296, 942 => 295, 939 => 294, 928 => 286, 924 => 285, 921 => 284, 916 => 280, 908 => 278, 904 => 277, 902 => 276, 900 => 275, 897 => 274, 881 => 265, 879 => 264, 876 => 263, 869 => 259, 867 => 258, 843 => 257, 840 => 255, 837 => 253, 835 => 252, 833 => 251, 826 => 247, 822 => 245, 819 => 244, 808 => 235, 804 => 233, 801 => 232, 797 => 229, 795 => 228, 793 => 227, 791 => 226, 789 => 225, 786 => 224, 782 => 221, 779 => 216, 751 => 206, 748 => 205, 739 => 200, 735 => 198, 728 => 192, 726 => 191, 719 => 187, 717 => 186, 714 => 185, 704 => 182, 701 => 180, 699 => 179, 687 => 173, 683 => 170, 681 => 169, 663 => 160, 661 => 159, 658 => 158, 654 => 155, 652 => 154, 649 => 153, 643 => 149, 633 => 144, 629 => 141, 627 => 140, 624 => 139, 620 => 136, 617 => 135, 614 => 133, 609 => 129, 599 => 128, 594 => 127, 592 => 126, 589 => 124, 584 => 122, 579 => 118, 577 => 116, 576 => 115, 575 => 114, 570 => 112, 567 => 110, 562 => 108, 556 => 104, 554 => 103, 552 => 102, 550 => 101, 548 => 100, 544 => 99, 541 => 97, 539 => 96, 522 => 92, 519 => 91, 505 => 88, 502 => 87, 477 => 82, 472 => 79, 470 => 78, 465 => 77, 463 => 76, 443 => 74, 425 => 64, 421 => 62, 412 => 60, 410 => 59, 399 => 56, 397 => 55, 383 => 49, 370 => 45, 357 => 37, 349 => 34, 346 => 33, 339 => 28, 330 => 23, 317 => 17, 295 => 11, 287 => 5, 282 => 3, 263 => 294, 260 => 293, 257 => 291, 250 => 274, 245 => 270, 242 => 269, 212 => 224, 146 => 147, 129 => 122, 126 => 121, 124 => 108, 110 => 38, 100 => 36, 354 => 329, 65 => 17, 20 => 1, 806 => 234, 803 => 487, 792 => 485, 784 => 482, 771 => 481, 723 => 190, 706 => 471, 694 => 467, 690 => 174, 675 => 462, 673 => 165, 656 => 460, 645 => 150, 630 => 452, 625 => 450, 621 => 449, 618 => 448, 602 => 445, 597 => 442, 545 => 407, 528 => 406, 525 => 405, 523 => 404, 518 => 402, 513 => 400, 202 => 94, 389 => 51, 386 => 159, 378 => 157, 367 => 155, 363 => 153, 358 => 151, 345 => 147, 343 => 146, 340 => 145, 334 => 26, 331 => 140, 326 => 21, 321 => 18, 307 => 287, 302 => 125, 296 => 121, 290 => 7, 288 => 118, 265 => 299, 259 => 103, 255 => 284, 253 => 100, 222 => 238, 184 => 63, 175 => 58, 170 => 84, 127 => 35, 417 => 143, 411 => 140, 405 => 137, 395 => 135, 388 => 134, 382 => 131, 377 => 47, 371 => 156, 359 => 123, 356 => 330, 353 => 149, 350 => 120, 347 => 119, 333 => 115, 328 => 22, 324 => 112, 313 => 110, 308 => 109, 281 => 114, 274 => 110, 237 => 262, 234 => 90, 232 => 249, 210 => 77, 186 => 190, 180 => 70, 161 => 162, 155 => 47, 152 => 46, 114 => 91, 58 => 15, 1077 => 657, 1073 => 656, 1069 => 654, 1064 => 334, 1055 => 648, 1051 => 332, 1048 => 331, 1044 => 645, 1035 => 639, 1026 => 633, 1023 => 632, 1021 => 631, 1018 => 630, 1013 => 627, 1004 => 624, 1000 => 623, 997 => 622, 993 => 621, 984 => 615, 975 => 305, 972 => 608, 970 => 607, 967 => 303, 963 => 302, 959 => 602, 955 => 600, 947 => 597, 941 => 595, 937 => 593, 935 => 592, 930 => 287, 926 => 589, 923 => 588, 919 => 587, 911 => 581, 909 => 580, 905 => 579, 896 => 573, 893 => 572, 891 => 271, 888 => 270, 884 => 267, 880 => 566, 874 => 562, 870 => 560, 864 => 558, 862 => 557, 854 => 552, 848 => 548, 844 => 546, 838 => 544, 836 => 543, 830 => 250, 828 => 538, 824 => 246, 815 => 239, 812 => 238, 810 => 529, 807 => 528, 800 => 523, 796 => 521, 790 => 519, 788 => 484, 780 => 513, 774 => 212, 770 => 507, 764 => 505, 762 => 504, 754 => 208, 745 => 203, 742 => 202, 740 => 491, 737 => 199, 732 => 197, 724 => 484, 718 => 482, 705 => 480, 702 => 469, 698 => 468, 696 => 178, 692 => 175, 686 => 465, 682 => 464, 678 => 168, 676 => 467, 671 => 164, 668 => 163, 664 => 463, 655 => 457, 646 => 451, 642 => 449, 640 => 148, 636 => 145, 628 => 444, 626 => 443, 622 => 442, 616 => 447, 603 => 439, 591 => 436, 587 => 123, 578 => 432, 574 => 113, 565 => 109, 563 => 410, 559 => 427, 553 => 425, 551 => 424, 546 => 423, 542 => 421, 536 => 95, 534 => 418, 530 => 417, 527 => 416, 514 => 415, 297 => 200, 293 => 120, 280 => 194, 276 => 111, 271 => 190, 251 => 182, 249 => 92, 77 => 25, 188 => 194, 174 => 74, 167 => 71, 118 => 49, 104 => 74, 76 => 25, 462 => 202, 449 => 198, 446 => 75, 441 => 196, 439 => 71, 431 => 189, 429 => 66, 422 => 184, 415 => 180, 408 => 176, 401 => 172, 394 => 54, 380 => 158, 373 => 46, 361 => 152, 351 => 328, 348 => 140, 342 => 30, 338 => 116, 335 => 134, 329 => 131, 325 => 129, 323 => 19, 320 => 127, 315 => 131, 303 => 122, 300 => 13, 289 => 196, 286 => 112, 275 => 330, 270 => 316, 267 => 101, 262 => 93, 256 => 96, 248 => 97, 233 => 87, 226 => 84, 216 => 79, 213 => 78, 207 => 216, 200 => 72, 197 => 69, 194 => 197, 191 => 196, 185 => 75, 181 => 185, 178 => 184, 172 => 57, 165 => 83, 153 => 77, 150 => 55, 134 => 133, 113 => 40, 90 => 27, 84 => 33, 81 => 32, 53 => 11, 97 => 39, 70 => 19, 34 => 4, 480 => 162, 474 => 80, 469 => 158, 461 => 155, 457 => 153, 453 => 199, 444 => 149, 440 => 148, 437 => 70, 435 => 69, 430 => 144, 427 => 65, 423 => 63, 413 => 134, 409 => 132, 407 => 138, 402 => 58, 398 => 136, 393 => 126, 387 => 164, 384 => 132, 381 => 48, 379 => 119, 374 => 128, 368 => 340, 365 => 41, 362 => 39, 360 => 38, 355 => 150, 341 => 117, 337 => 27, 322 => 101, 314 => 16, 312 => 130, 309 => 288, 305 => 108, 298 => 12, 294 => 90, 285 => 4, 283 => 115, 278 => 331, 268 => 300, 264 => 84, 258 => 187, 252 => 283, 247 => 273, 241 => 93, 229 => 87, 220 => 81, 214 => 231, 177 => 69, 169 => 168, 140 => 55, 132 => 51, 128 => 42, 107 => 37, 61 => 2, 273 => 317, 269 => 107, 254 => 92, 243 => 88, 240 => 263, 238 => 85, 235 => 250, 230 => 244, 227 => 243, 224 => 241, 221 => 80, 219 => 237, 217 => 232, 208 => 76, 204 => 215, 179 => 69, 159 => 158, 143 => 56, 135 => 46, 119 => 95, 102 => 30, 71 => 15, 67 => 16, 63 => 21, 59 => 13, 38 => 5, 94 => 45, 89 => 37, 85 => 26, 75 => 22, 68 => 12, 56 => 12, 87 => 26, 21 => 2, 26 => 3, 93 => 28, 88 => 30, 78 => 24, 46 => 14, 27 => 3, 44 => 8, 31 => 3, 28 => 3, 201 => 213, 196 => 211, 183 => 189, 171 => 173, 166 => 167, 163 => 82, 158 => 80, 156 => 157, 151 => 152, 142 => 59, 138 => 47, 136 => 138, 121 => 107, 117 => 37, 105 => 25, 91 => 44, 62 => 14, 49 => 12, 24 => 2, 25 => 3, 19 => 1, 79 => 26, 72 => 18, 69 => 11, 47 => 9, 40 => 11, 37 => 7, 22 => 2, 246 => 136, 157 => 56, 145 => 74, 139 => 139, 131 => 132, 123 => 61, 120 => 31, 115 => 40, 111 => 90, 108 => 33, 101 => 73, 98 => 29, 96 => 53, 83 => 30, 74 => 16, 66 => 10, 55 => 12, 52 => 12, 50 => 10, 43 => 12, 41 => 7, 35 => 4, 32 => 6, 29 => 3, 209 => 223, 203 => 73, 199 => 212, 193 => 73, 189 => 66, 187 => 84, 182 => 87, 176 => 178, 173 => 177, 168 => 61, 164 => 163, 162 => 59, 154 => 153, 149 => 148, 147 => 75, 144 => 144, 141 => 143, 133 => 45, 130 => 46, 125 => 41, 122 => 43, 116 => 94, 112 => 39, 109 => 87, 106 => 86, 103 => 32, 99 => 54, 95 => 39, 92 => 31, 86 => 36, 82 => 25, 80 => 24, 73 => 23, 64 => 3, 60 => 20, 57 => 19, 54 => 19, 51 => 37, 48 => 10, 45 => 8, 42 => 7, 39 => 10, 36 => 5, 33 => 4, 30 => 3,);
  1051. }
  1052. }