PageRenderTime 58ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 1ms

/app/cache/dev/twig/ba/97/14cc641037fa2637955323f18111b5555c15517f5b6429182e54ac87bcf6.php

https://github.com/silvanei/treinaweb-symfony2-basico
PHP | 703 lines | 545 code | 47 blank | 111 comment | 37 complexity | 90baf221fd9c3627656336a13aa9d53c MD5 | raw file
Possible License(s): BSD-3-Clause
  1. <?php
  2. /* @WebProfiler/Collector/form.html.twig */
  3. class __TwigTemplate_ba9714cc641037fa2637955323f18111b5555c15517f5b6429182e54ac87bcf6 extends Twig_Template
  4. {
  5. public function __construct(Twig_Environment $env)
  6. {
  7. parent::__construct($env);
  8. $this->parent = $this->env->loadTemplate("@WebProfiler/Profiler/layout.html.twig");
  9. $this->blocks = array(
  10. 'toolbar' => array($this, 'block_toolbar'),
  11. 'menu' => array($this, 'block_menu'),
  12. 'panel' => array($this, 'block_panel'),
  13. );
  14. }
  15. protected function doGetParent(array $context)
  16. {
  17. return "@WebProfiler/Profiler/layout.html.twig";
  18. }
  19. protected function doDisplay(array $context, array $blocks = array())
  20. {
  21. // line 3
  22. $context["__internal_90190da04c6dc9444e47dfba7003737461c7feea68b907f0f64666949fe3e7bd"] = $this;
  23. $this->parent->display($context, array_merge($this->blocks, $blocks));
  24. }
  25. // line 5
  26. public function block_toolbar($context, array $blocks = array())
  27. {
  28. // line 6
  29. echo " ";
  30. if (twig_length_filter($this->env, $this->getAttribute((isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector")), "data"))) {
  31. // line 7
  32. echo " ";
  33. ob_start();
  34. // line 8
  35. echo " <img width=\"20\" height=\"28\" alt=\"Forms\" src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAcCAYAAABh2p9gAAAAYElEQVRIiWNgGHGAEZ+knZ3df2zihw4dwqmPiVIXoQMMm3C5ChdAdy0LsgH4vIIPIJtBdS9T3UAWdAFyvQ0DjKRGAiEwQsIQOdioHoYoLqRGwh514VB0IakWjsC8PAIBAMl9LomdN/ohAAAAAElFTkSuQmCC\"/>
  36. <span class=\"sf-toolbar-status sf-toolbar-status-";
  37. // line 9
  38. if ($this->getAttribute($this->getAttribute((isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector")), "data"), "nb_errors")) {
  39. echo "red";
  40. } else {
  41. echo "green";
  42. }
  43. echo "\">";
  44. if ($this->getAttribute($this->getAttribute((isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector")), "data"), "nb_errors")) {
  45. echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector")), "data"), "nb_errors"), "html", null, true);
  46. } else {
  47. echo twig_escape_filter($this->env, twig_length_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector")), "data"), "forms")), "html", null, true);
  48. }
  49. echo "</span>
  50. ";
  51. $context["icon"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
  52. // line 11
  53. echo "
  54. ";
  55. // line 12
  56. $this->env->loadTemplate("@WebProfiler/Profiler/toolbar_item.html.twig")->display(array_merge($context, array("link" => (isset($context["profiler_url"]) ? $context["profiler_url"] : $this->getContext($context, "profiler_url")))));
  57. // line 13
  58. echo " ";
  59. }
  60. }
  61. // line 16
  62. public function block_menu($context, array $blocks = array())
  63. {
  64. // line 17
  65. echo " <span class=\"label\">
  66. <span class=\"icon\"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAbCAYAAAB836/YAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHA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/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAIpJREFUeNrslFEKgDAMQ1PpzrX7n6mF+KMfTjvnnKBgYD+heaQUJjlnRFJVunvpwd0lykyoqIRFXhWoqgSwvkgEwGV2my+CctYgaMumlXu0A6aUmsNHs1oaZiatQDM7BXL4ynelB550cFgDcmRD6eTwsaP0NmQrkP+Vv3vlv+G1hrwDfN8HOxw4DwC6ITLy7UIfRQAAAABJRU5ErkJggg==\" alt=\"\"/></span>
  67. <strong>Forms</strong>
  68. ";
  69. // line 20
  70. if (twig_length_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector")), "data"), "forms"))) {
  71. // line 21
  72. echo " <span class=\"count\"><span>";
  73. echo twig_escape_filter($this->env, twig_length_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector")), "data"), "forms")), "html", null, true);
  74. echo "</span></span>
  75. ";
  76. }
  77. // line 23
  78. echo " </span>
  79. ";
  80. }
  81. // line 26
  82. public function block_panel($context, array $blocks = array())
  83. {
  84. // line 27
  85. echo " <style type=\"text/css\">
  86. .window {
  87. /*background: #F6F6F6;*/
  88. margin: -30px -40px -40px;
  89. }
  90. .tree {
  91. width: 230px;
  92. padding: 10px;
  93. font-size: 12px;
  94. float: left;
  95. }
  96. #content .tree h2 {
  97. font-size: 13px;
  98. padding: 5px 7px;
  99. margin: 0;
  100. }
  101. .tree li {
  102. margin: 0;
  103. padding: 0;
  104. width: 100%;
  105. }
  106. .tree a {
  107. text-decoration: none;
  108. display: block;
  109. padding: 5px 7px;
  110. border-radius: 6px;
  111. color: #313131;
  112. }
  113. .tree ul ul a {
  114. padding-left: 22px;
  115. }
  116. .tree ul ul ul a {
  117. padding-left: 37px;
  118. }
  119. .tree ul ul ul ul a {
  120. padding-left: 52px;
  121. }
  122. .tree ul ul ul ul ul a {
  123. padding-left: 67px;
  124. }
  125. .tree a:hover {
  126. background: #dfdfdf;
  127. }
  128. .tree a.active, a.active:hover {
  129. background: #dfdfdf;
  130. font-weight: bold;
  131. color: #313131;
  132. }
  133. .tree-details {
  134. border-left: 1px solid #dfdfdf;
  135. background: white;
  136. margin-left: 250px;
  137. padding: 30px 40px 40px;
  138. }
  139. .form-type {
  140. color: #999999;
  141. }
  142. .hidden {
  143. display: none;
  144. }
  145. </style>
  146. ";
  147. // line 89
  148. if (twig_length_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector")), "data"), "forms"))) {
  149. // line 90
  150. echo " <div class=\"window\">
  151. <div class=\"tree\">
  152. <h2>Forms</h2>
  153. <ul>
  154. ";
  155. // line 95
  156. $context['_parent'] = (array) $context;
  157. $context['_seq'] = twig_ensure_traversable($this->getAttribute($this->getAttribute((isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector")), "data"), "forms"));
  158. foreach ($context['_seq'] as $context["formName"] => $context["formData"]) {
  159. // line 96
  160. echo " ";
  161. echo $context["__internal_90190da04c6dc9444e47dfba7003737461c7feea68b907f0f64666949fe3e7bd"]->getform_tree_entry((isset($context["formName"]) ? $context["formName"] : $this->getContext($context, "formName")), (isset($context["formData"]) ? $context["formData"] : $this->getContext($context, "formData")));
  162. echo "
  163. ";
  164. }
  165. $_parent = $context['_parent'];
  166. unset($context['_seq'], $context['_iterated'], $context['formName'], $context['formData'], $context['_parent'], $context['loop']);
  167. $context = array_intersect_key($context, $_parent) + $_parent;
  168. // line 98
  169. echo " </ul>
  170. </div>
  171. ";
  172. // line 101
  173. $context['_parent'] = (array) $context;
  174. $context['_seq'] = twig_ensure_traversable($this->getAttribute($this->getAttribute((isset($context["collector"]) ? $context["collector"] : $this->getContext($context, "collector")), "data"), "forms"));
  175. foreach ($context['_seq'] as $context["formName"] => $context["formData"]) {
  176. // line 102
  177. echo " ";
  178. echo $context["__internal_90190da04c6dc9444e47dfba7003737461c7feea68b907f0f64666949fe3e7bd"]->getform_tree_details((isset($context["formName"]) ? $context["formName"] : $this->getContext($context, "formName")), (isset($context["formData"]) ? $context["formData"] : $this->getContext($context, "formData")));
  179. echo "
  180. ";
  181. }
  182. $_parent = $context['_parent'];
  183. unset($context['_seq'], $context['_iterated'], $context['formName'], $context['formData'], $context['_parent'], $context['loop']);
  184. $context = array_intersect_key($context, $_parent) + $_parent;
  185. // line 104
  186. echo " </div>
  187. ";
  188. } else {
  189. // line 106
  190. echo " <p><em>No forms were submitted for this request.</em></p>
  191. ";
  192. }
  193. // line 108
  194. echo "
  195. <script>
  196. function TabView() {
  197. var _activeLink = null,
  198. _activeView = null;
  199. this.init = function () {
  200. var links = document.querySelectorAll('.tree a'),
  201. views = document.querySelectorAll('.tree-details'),
  202. i,
  203. l;
  204. for (i = 0, l = links.length; i < l; ++i) {
  205. (function () {
  206. var link = links[i];
  207. link.addEventListener('click', function (e) {
  208. var href = link.getAttribute('href'),
  209. targetId = href.substr(href.indexOf('#') + 1),
  210. view = document.getElementById(targetId);
  211. if (view) {
  212. if (null !== _activeLink) {
  213. Sfjs.removeClass(_activeLink, 'active');
  214. }
  215. if (null !== _activeView) {
  216. Sfjs.addClass(_activeView, 'hidden');
  217. }
  218. Sfjs.addClass(link, 'active');
  219. Sfjs.removeClass(view, 'hidden');
  220. _activeLink = link;
  221. _activeView = view;
  222. }
  223. e.preventDefault();
  224. return false;
  225. })
  226. }());
  227. }
  228. for (i = 0, l = views.length; i < l; ++i) {
  229. Sfjs.addClass(views[i], 'hidden');
  230. }
  231. if (links.length > 0) {
  232. Sfjs.addClass(links[0], 'active');
  233. _activeLink = links[0];
  234. if (views.length > 0) {
  235. Sfjs.removeClass(views[0], 'hidden');
  236. _activeView = views[0];
  237. }
  238. }
  239. }
  240. }
  241. var tabView = new TabView();
  242. tabView.init();
  243. </script>
  244. ";
  245. }
  246. // line 174
  247. public function getform_tree_entry($_name = null, $_data = null)
  248. {
  249. $context = $this->env->mergeGlobals(array(
  250. "name" => $_name,
  251. "data" => $_data,
  252. ));
  253. $blocks = array();
  254. ob_start();
  255. try {
  256. // line 175
  257. echo " <li>
  258. <a href=\"#details_";
  259. // line 176
  260. echo twig_escape_filter($this->env, $this->getAttribute((isset($context["data"]) ? $context["data"] : $this->getContext($context, "data")), "id"), "html", null, true);
  261. echo "\">";
  262. echo twig_escape_filter($this->env, (isset($context["name"]) ? $context["name"] : $this->getContext($context, "name")), "html", null, true);
  263. echo "</a>
  264. ";
  265. // line 178
  266. if ((!twig_test_empty($this->getAttribute((isset($context["data"]) ? $context["data"] : $this->getContext($context, "data")), "children")))) {
  267. // line 179
  268. echo " <ul>
  269. ";
  270. // line 180
  271. $context['_parent'] = (array) $context;
  272. $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["data"]) ? $context["data"] : $this->getContext($context, "data")), "children"));
  273. foreach ($context['_seq'] as $context["childName"] => $context["childData"]) {
  274. // line 181
  275. echo " ";
  276. echo $this->getAttribute($this, "form_tree_entry", array(0 => (isset($context["childName"]) ? $context["childName"] : $this->getContext($context, "childName")), 1 => (isset($context["childData"]) ? $context["childData"] : $this->getContext($context, "childData"))), "method");
  277. echo "
  278. ";
  279. }
  280. $_parent = $context['_parent'];
  281. unset($context['_seq'], $context['_iterated'], $context['childName'], $context['childData'], $context['_parent'], $context['loop']);
  282. $context = array_intersect_key($context, $_parent) + $_parent;
  283. // line 183
  284. echo " </ul>
  285. ";
  286. }
  287. // line 185
  288. echo " </li>
  289. ";
  290. } catch (Exception $e) {
  291. ob_end_clean();
  292. throw $e;
  293. }
  294. return ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
  295. }
  296. // line 188
  297. public function getform_tree_details($_name = null, $_data = null)
  298. {
  299. $context = $this->env->mergeGlobals(array(
  300. "name" => $_name,
  301. "data" => $_data,
  302. ));
  303. $blocks = array();
  304. ob_start();
  305. try {
  306. // line 189
  307. echo " <div class=\"tree-details\" id=\"details_";
  308. echo twig_escape_filter($this->env, $this->getAttribute((isset($context["data"]) ? $context["data"] : $this->getContext($context, "data")), "id"), "html", null, true);
  309. echo "\">
  310. <h2>
  311. ";
  312. // line 191
  313. echo twig_escape_filter($this->env, (isset($context["name"]) ? $context["name"] : $this->getContext($context, "name")), "html", null, true);
  314. echo "
  315. ";
  316. // line 192
  317. if ($this->getAttribute((isset($context["data"]) ? $context["data"] : null), "type_class", array(), "any", true, true)) {
  318. // line 193
  319. echo " <span class=\"form-type\">[<abbr title=\"";
  320. echo twig_escape_filter($this->env, $this->getAttribute((isset($context["data"]) ? $context["data"] : $this->getContext($context, "data")), "type_class"), "html", null, true);
  321. echo "\">";
  322. echo twig_escape_filter($this->env, $this->getAttribute((isset($context["data"]) ? $context["data"] : $this->getContext($context, "data")), "type"), "html", null, true);
  323. echo "</abbr>]</span>
  324. ";
  325. }
  326. // line 195
  327. echo " </h2>
  328. ";
  329. // line 197
  330. if (($this->getAttribute((isset($context["data"]) ? $context["data"] : null), "errors", array(), "any", true, true) && (twig_length_filter($this->env, $this->getAttribute((isset($context["data"]) ? $context["data"] : $this->getContext($context, "data")), "errors")) > 0))) {
  331. // line 198
  332. echo " <h3>Errors</h3>
  333. <table>
  334. <tr>
  335. <th width=\"50%\">Message</th>
  336. <th>Cause</th>
  337. </tr>
  338. ";
  339. // line 205
  340. $context['_parent'] = (array) $context;
  341. $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["data"]) ? $context["data"] : $this->getContext($context, "data")), "errors"));
  342. foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  343. // line 206
  344. echo " <tr>
  345. <td>";
  346. // line 207
  347. echo twig_escape_filter($this->env, $this->getAttribute((isset($context["error"]) ? $context["error"] : $this->getContext($context, "error")), "message"), "html", null, true);
  348. echo "</td>
  349. <td><em>Unknown.</em></td>
  350. </tr>
  351. ";
  352. }
  353. $_parent = $context['_parent'];
  354. unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  355. $context = array_intersect_key($context, $_parent) + $_parent;
  356. // line 211
  357. echo " </table>
  358. ";
  359. }
  360. // line 213
  361. echo "
  362. ";
  363. // line 214
  364. if ($this->getAttribute((isset($context["data"]) ? $context["data"] : null), "default_data", array(), "any", true, true)) {
  365. // line 215
  366. echo " <h3>Default Data</h3>
  367. <table>
  368. <tr>
  369. <th width=\"180\">Model Format</th>
  370. <td>
  371. ";
  372. // line 221
  373. if ($this->getAttribute($this->getAttribute((isset($context["data"]) ? $context["data"] : null), "default_data", array(), "any", false, true), "model", array(), "any", true, true)) {
  374. // line 222
  375. echo " <pre>";
  376. echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["data"]) ? $context["data"] : $this->getContext($context, "data")), "default_data"), "model"), "html", null, true);
  377. echo "</pre>
  378. ";
  379. } else {
  380. // line 224
  381. echo " <em>same as normalized format</em>
  382. ";
  383. }
  384. // line 226
  385. echo " </td>
  386. </tr>
  387. <tr>
  388. <th>Normalized Format</th>
  389. <td><pre>";
  390. // line 230
  391. echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["data"]) ? $context["data"] : $this->getContext($context, "data")), "default_data"), "norm"), "html", null, true);
  392. echo "</pre></td>
  393. </tr>
  394. <tr>
  395. <th>View Format</th>
  396. <td>
  397. ";
  398. // line 235
  399. if ($this->getAttribute($this->getAttribute((isset($context["data"]) ? $context["data"] : null), "default_data", array(), "any", false, true), "view", array(), "any", true, true)) {
  400. // line 236
  401. echo " <pre>";
  402. echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["data"]) ? $context["data"] : $this->getContext($context, "data")), "default_data"), "view"), "html", null, true);
  403. echo "</pre>
  404. ";
  405. } else {
  406. // line 238
  407. echo " <em>same as normalized format</em>
  408. ";
  409. }
  410. // line 240
  411. echo " </td>
  412. </tr>
  413. </table>
  414. ";
  415. }
  416. // line 244
  417. echo "
  418. ";
  419. // line 245
  420. if ($this->getAttribute((isset($context["data"]) ? $context["data"] : null), "submitted_data", array(), "any", true, true)) {
  421. // line 246
  422. echo " <h3>Submitted Data</h3>
  423. ";
  424. // line 248
  425. if ($this->getAttribute($this->getAttribute((isset($context["data"]) ? $context["data"] : null), "submitted_data", array(), "any", false, true), "norm", array(), "any", true, true)) {
  426. // line 249
  427. echo " <table>
  428. <tr>
  429. <th width=\"180\">View Format</th>
  430. <td>
  431. ";
  432. // line 253
  433. if ($this->getAttribute($this->getAttribute((isset($context["data"]) ? $context["data"] : null), "submitted_data", array(), "any", false, true), "view", array(), "any", true, true)) {
  434. // line 254
  435. echo " <pre>";
  436. echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["data"]) ? $context["data"] : $this->getContext($context, "data")), "submitted_data"), "view"), "html", null, true);
  437. echo "</pre>
  438. ";
  439. } else {
  440. // line 256
  441. echo " <em>same as normalized format</em>
  442. ";
  443. }
  444. // line 258
  445. echo " </td>
  446. </tr>
  447. <tr>
  448. <th>Normalized Format</th>
  449. <td><pre>";
  450. // line 262
  451. echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["data"]) ? $context["data"] : $this->getContext($context, "data")), "submitted_data"), "norm"), "html", null, true);
  452. echo "</pre></td>
  453. </tr>
  454. <tr>
  455. <th>Model Format</th>
  456. <td>
  457. ";
  458. // line 267
  459. if ($this->getAttribute($this->getAttribute((isset($context["data"]) ? $context["data"] : null), "submitted_data", array(), "any", false, true), "model", array(), "any", true, true)) {
  460. // line 268
  461. echo " <pre>";
  462. echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["data"]) ? $context["data"] : $this->getContext($context, "data")), "submitted_data"), "model"), "html", null, true);
  463. echo "</pre>
  464. ";
  465. } else {
  466. // line 270
  467. echo " <em>same as normalized format</em>
  468. ";
  469. }
  470. // line 272
  471. echo " </td>
  472. </tr>
  473. </table>
  474. ";
  475. } else {
  476. // line 276
  477. echo " <p><em>This form was not submitted.</em></p>
  478. ";
  479. }
  480. // line 278
  481. echo " ";
  482. }
  483. // line 279
  484. echo "
  485. ";
  486. // line 280
  487. if ($this->getAttribute((isset($context["data"]) ? $context["data"] : null), "passed_options", array(), "any", true, true)) {
  488. // line 281
  489. echo " <h3>Passed Options</h3>
  490. ";
  491. // line 283
  492. if (twig_length_filter($this->env, $this->getAttribute((isset($context["data"]) ? $context["data"] : $this->getContext($context, "data")), "passed_options"))) {
  493. // line 284
  494. echo " <table>
  495. <tr>
  496. <th width=\"180\">Option</th>
  497. <th>Passed Value</th>
  498. <th>Resolved Value</th>
  499. </tr>
  500. ";
  501. // line 290
  502. $context['_parent'] = (array) $context;
  503. $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["data"]) ? $context["data"] : $this->getContext($context, "data")), "passed_options"));
  504. foreach ($context['_seq'] as $context["option"] => $context["value"]) {
  505. // line 291
  506. echo " <tr>
  507. <th>";
  508. // line 292
  509. echo twig_escape_filter($this->env, (isset($context["option"]) ? $context["option"] : $this->getContext($context, "option")), "html", null, true);
  510. echo "</th>
  511. <td><pre>";
  512. // line 293
  513. echo twig_escape_filter($this->env, (isset($context["value"]) ? $context["value"] : $this->getContext($context, "value")), "html", null, true);
  514. echo "</pre></td>
  515. <td>
  516. ";
  517. // line 295
  518. if (($this->getAttribute($this->getAttribute((isset($context["data"]) ? $context["data"] : $this->getContext($context, "data")), "resolved_options"), (isset($context["option"]) ? $context["option"] : $this->getContext($context, "option")), array(), "array") === (isset($context["value"]) ? $context["value"] : $this->getContext($context, "value")))) {
  519. // line 296
  520. echo " <em>same as passed value</em>
  521. ";
  522. } else {
  523. // line 298
  524. echo " <pre>";
  525. echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute((isset($context["data"]) ? $context["data"] : $this->getContext($context, "data")), "resolved_options"), (isset($context["option"]) ? $context["option"] : $this->getContext($context, "option")), array(), "array"), "html", null, true);
  526. echo "</pre>
  527. ";
  528. }
  529. // line 300
  530. echo " </td>
  531. </tr>
  532. ";
  533. }
  534. $_parent = $context['_parent'];
  535. unset($context['_seq'], $context['_iterated'], $context['option'], $context['value'], $context['_parent'], $context['loop']);
  536. $context = array_intersect_key($context, $_parent) + $_parent;
  537. // line 303
  538. echo " </table>
  539. ";
  540. } else {
  541. // line 305
  542. echo " <p><em>No options where passed when constructing this form.</em></p>
  543. ";
  544. }
  545. // line 307
  546. echo " ";
  547. }
  548. // line 308
  549. echo "
  550. ";
  551. // line 309
  552. if ($this->getAttribute((isset($context["data"]) ? $context["data"] : null), "resolved_options", array(), "any", true, true)) {
  553. // line 310
  554. echo " <h3>Resolved Options</h3>
  555. <table>
  556. <tr>
  557. <th width=\"180\">Option</th>
  558. <th>Value</th>
  559. </tr>
  560. ";
  561. // line 317
  562. $context['_parent'] = (array) $context;
  563. $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["data"]) ? $context["data"] : $this->getContext($context, "data")), "resolved_options"));
  564. foreach ($context['_seq'] as $context["option"] => $context["value"]) {
  565. // line 318
  566. echo " <tr>
  567. <th>";
  568. // line 319
  569. echo twig_escape_filter($this->env, (isset($context["option"]) ? $context["option"] : $this->getContext($context, "option")), "html", null, true);
  570. echo "</th>
  571. <td><pre>";
  572. // line 320
  573. echo twig_escape_filter($this->env, (isset($context["value"]) ? $context["value"] : $this->getContext($context, "value")), "html", null, true);
  574. echo "</pre></td>
  575. </tr>
  576. ";
  577. }
  578. $_parent = $context['_parent'];
  579. unset($context['_seq'], $context['_iterated'], $context['option'], $context['value'], $context['_parent'], $context['loop']);
  580. $context = array_intersect_key($context, $_parent) + $_parent;
  581. // line 323
  582. echo " </table>
  583. ";
  584. }
  585. // line 325
  586. echo "
  587. ";
  588. // line 326
  589. if ($this->getAttribute((isset($context["data"]) ? $context["data"] : null), "view_vars", array(), "any", true, true)) {
  590. // line 327
  591. echo " <h3>View Variables</h3>
  592. <table>
  593. <tr>
  594. <th width=\"180\">Variable</th>
  595. <th>Value</th>
  596. </tr>
  597. ";
  598. // line 334
  599. $context['_parent'] = (array) $context;
  600. $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["data"]) ? $context["data"] : $this->getContext($context, "data")), "view_vars"));
  601. foreach ($context['_seq'] as $context["variable"] => $context["value"]) {
  602. // line 335
  603. echo " <tr>
  604. <th>";
  605. // line 336
  606. echo twig_escape_filter($this->env, (isset($context["variable"]) ? $context["variable"] : $this->getContext($context, "variable")), "html", null, true);
  607. echo "</th>
  608. <td><pre>";
  609. // line 337
  610. echo twig_escape_filter($this->env, (isset($context["value"]) ? $context["value"] : $this->getContext($context, "value")), "html", null, true);
  611. echo "</pre></td>
  612. </tr>
  613. ";
  614. }
  615. $_parent = $context['_parent'];
  616. unset($context['_seq'], $context['_iterated'], $context['variable'], $context['value'], $context['_parent'], $context['loop']);
  617. $context = array_intersect_key($context, $_parent) + $_parent;
  618. // line 340
  619. echo " </table>
  620. ";
  621. }
  622. // line 342
  623. echo " </div>
  624. ";
  625. // line 344
  626. $context['_parent'] = (array) $context;
  627. $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["data"]) ? $context["data"] : $this->getContext($context, "data")), "children"));
  628. foreach ($context['_seq'] as $context["childName"] => $context["childData"]) {
  629. // line 345
  630. echo " ";
  631. echo $this->getAttribute($this, "form_tree_details", array(0 => (isset($context["childName"]) ? $context["childName"] : $this->getContext($context, "childName")), 1 => (isset($context["childData"]) ? $context["childData"] : $this->getContext($context, "childData"))), "method");
  632. echo "
  633. ";
  634. }
  635. $_parent = $context['_parent'];
  636. unset($context['_seq'], $context['_iterated'], $context['childName'], $context['childData'], $context['_parent'], $context['loop']);
  637. $context = array_intersect_key($context, $_parent) + $_parent;
  638. } catch (Exception $e) {
  639. ob_end_clean();
  640. throw $e;
  641. }
  642. return ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
  643. }
  644. public function getTemplateName()
  645. {
  646. return "@WebProfiler/Collector/form.html.twig";
  647. }
  648. public function isTraitable()
  649. {
  650. return false;
  651. }
  652. public function getDebugInfo()
  653. {
  654. return array ( 672 => 345, 668 => 344, 664 => 342, 651 => 337, 647 => 336, 644 => 335, 640 => 334, 631 => 327, 626 => 325, 613 => 320, 609 => 319, 602 => 317, 593 => 310, 591 => 309, 588 => 308, 585 => 307, 581 => 305, 577 => 303, 569 => 300, 563 => 298, 559 => 296, 557 => 295, 552 => 293, 548 => 292, 545 => 291, 541 => 290, 533 => 284, 531 => 283, 525 => 280, 519 => 278, 515 => 276, 509 => 272, 505 => 270, 499 => 268, 497 => 267, 489 => 262, 483 => 258, 479 => 256, 473 => 254, 471 => 253, 465 => 249, 463 => 248, 459 => 246, 457 => 245, 454 => 244, 448 => 240, 444 => 238, 438 => 236, 436 => 235, 428 => 230, 418 => 224, 412 => 222, 410 => 221, 402 => 215, 400 => 214, 397 => 213, 393 => 211, 383 => 207, 376 => 205, 365 => 197, 347 => 191, 317 => 185, 313 => 183, 304 => 181, 295 => 178, 285 => 175, 273 => 174, 205 => 108, 201 => 106, 179 => 98, 159 => 90, 93 => 27, 77 => 20, 51 => 13, 34 => 5, 31 => 4, 810 => 492, 807 => 491, 796 => 489, 792 => 488, 788 => 486, 775 => 485, 749 => 479, 746 => 478, 727 => 476, 710 => 475, 706 => 473, 702 => 472, 698 => 471, 694 => 470, 690 => 469, 686 => 468, 682 => 467, 679 => 466, 677 => 465, 660 => 340, 649 => 462, 634 => 456, 629 => 326, 625 => 453, 622 => 323, 620 => 451, 606 => 318, 601 => 446, 567 => 414, 549 => 411, 532 => 410, 529 => 409, 527 => 281, 522 => 279, 517 => 404, 199 => 93, 196 => 92, 188 => 102, 182 => 87, 173 => 85, 68 => 30, 62 => 12, 28 => 3, 357 => 123, 344 => 119, 341 => 189, 332 => 116, 327 => 114, 324 => 113, 318 => 111, 306 => 107, 297 => 179, 291 => 102, 263 => 95, 258 => 94, 243 => 92, 231 => 83, 224 => 81, 212 => 78, 202 => 94, 190 => 76, 187 => 75, 174 => 65, 143 => 51, 136 => 71, 122 => 41, 117 => 39, 112 => 36, 104 => 32, 85 => 23, 75 => 19, 58 => 25, 44 => 9, 161 => 63, 158 => 80, 154 => 60, 151 => 59, 140 => 58, 125 => 42, 121 => 50, 118 => 49, 100 => 39, 87 => 41, 49 => 14, 46 => 13, 27 => 3, 91 => 33, 88 => 25, 63 => 18, 389 => 160, 386 => 159, 378 => 157, 371 => 156, 367 => 198, 363 => 126, 358 => 151, 353 => 193, 345 => 147, 343 => 146, 340 => 145, 334 => 141, 331 => 140, 328 => 139, 326 => 138, 321 => 112, 309 => 108, 307 => 128, 302 => 125, 296 => 121, 293 => 120, 290 => 119, 288 => 176, 283 => 100, 281 => 114, 276 => 111, 274 => 97, 269 => 107, 265 => 96, 259 => 103, 255 => 93, 253 => 100, 235 => 85, 232 => 88, 227 => 86, 222 => 83, 210 => 77, 208 => 76, 189 => 66, 184 => 101, 175 => 65, 170 => 96, 166 => 95, 163 => 82, 155 => 47, 152 => 46, 144 => 42, 127 => 35, 109 => 52, 94 => 21, 82 => 28, 76 => 34, 61 => 15, 39 => 6, 36 => 5, 79 => 21, 72 => 17, 69 => 16, 54 => 22, 47 => 11, 42 => 7, 40 => 11, 37 => 10, 22 => 1, 164 => 58, 157 => 89, 145 => 74, 139 => 49, 131 => 45, 120 => 31, 115 => 39, 111 => 47, 108 => 37, 106 => 51, 101 => 31, 98 => 45, 92 => 43, 83 => 33, 80 => 32, 74 => 14, 66 => 11, 60 => 6, 55 => 24, 52 => 12, 50 => 22, 41 => 8, 32 => 5, 29 => 6, 462 => 202, 453 => 199, 449 => 198, 446 => 197, 441 => 196, 439 => 195, 431 => 189, 429 => 188, 422 => 226, 415 => 180, 408 => 176, 401 => 172, 394 => 168, 387 => 164, 380 => 206, 373 => 156, 361 => 195, 355 => 150, 351 => 192, 348 => 140, 342 => 137, 338 => 135, 335 => 134, 329 => 188, 325 => 129, 323 => 128, 320 => 127, 315 => 110, 312 => 109, 303 => 106, 300 => 180, 298 => 120, 289 => 113, 286 => 112, 278 => 98, 275 => 105, 270 => 102, 267 => 101, 262 => 98, 256 => 96, 248 => 97, 246 => 136, 241 => 93, 233 => 87, 229 => 87, 226 => 84, 220 => 81, 216 => 79, 213 => 78, 207 => 75, 203 => 73, 200 => 72, 197 => 104, 194 => 68, 191 => 67, 185 => 74, 181 => 65, 178 => 66, 176 => 86, 172 => 64, 168 => 61, 165 => 83, 162 => 57, 156 => 62, 153 => 77, 150 => 55, 147 => 75, 141 => 73, 134 => 54, 130 => 46, 123 => 61, 119 => 40, 116 => 57, 113 => 48, 105 => 25, 102 => 40, 99 => 23, 96 => 37, 90 => 26, 84 => 40, 81 => 23, 73 => 33, 70 => 15, 67 => 24, 64 => 13, 59 => 11, 53 => 12, 45 => 9, 43 => 12, 38 => 7, 35 => 6, 33 => 4, 30 => 3,);
  655. }
  656. }