PageRenderTime 100ms CodeModel.GetById 18ms RepoModel.GetById 2ms app.codeStats 0ms

/app/cache/dev/twig/01/a8/b2bc26944777b791b3894a0443a7.php

https://bitbucket.org/voicetime/blog
PHP | 1190 lines | 874 code | 48 blank | 268 comment | 47 complexity | c2172ce2a319533e1624b3d5415b7e97 MD5 | raw file
Possible License(s): BSD-3-Clause, BSD-2-Clause, Apache-2.0, LGPL-3.0

Large files files are truncated, but you can click here to view the full file

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

Large files files are truncated, but you can click here to view the full file