6ff7498bf97d9da60f2c2401bc90a5d492b86570284e6bb8fc46d6d5287d6f29.php 50 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842
  1. <?php
  2. /* forms/fields/list/list.html.twig */
  3. class __TwigTemplate_2c5e0d204ff879a907326b7b33785dbeea7606bacd52cebe4bcab6546177060a extends Twig_Template
  4. {
  5. public function __construct(Twig_Environment $env)
  6. {
  7. parent::__construct($env);
  8. // line 1
  9. $this->parent = $this->loadTemplate("forms/field.html.twig", "forms/fields/list/list.html.twig", 1);
  10. $this->blocks = array(
  11. 'contents' => array($this, 'block_contents'),
  12. 'global_attributes' => array($this, 'block_global_attributes'),
  13. '__internal_e408f6e41354bae6411f4fb2bf2e9ca816e0821165964d2e30246de2e260224d' => array($this, 'block___internal_e408f6e41354bae6411f4fb2bf2e9ca816e0821165964d2e30246de2e260224d'),
  14. );
  15. }
  16. protected function doGetParent(array $context)
  17. {
  18. return "forms/field.html.twig";
  19. }
  20. protected function doDisplay(array $context, array $blocks = array())
  21. {
  22. // line 3
  23. $context["value"] = (((null === ($context["value"] ?? null))) ? ($this->getAttribute(($context["field"] ?? null), "default", array())) : (($context["value"] ?? null)));
  24. // line 4
  25. $context["name"] = $this->getAttribute(($context["field"] ?? null), "name", array());
  26. // line 5
  27. $context["btnLabel"] = (($this->getAttribute(($context["field"] ?? null), "btnLabel", array(), "any", true, true)) ? ($this->getAttribute(($context["field"] ?? null), "btnLabel", array())) : ("PLUGIN_ADMIN.ADD_ITEM"));
  28. // line 6
  29. $context["btnSortLabel"] = (($this->getAttribute(($context["field"] ?? null), "btnSortLabel", array(), "any", true, true)) ? ($this->getAttribute(($context["field"] ?? null), "btnSortLabel", array())) : ("PLUGIN_ADMIN.SORT_BY"));
  30. // line 7
  31. $context["fieldControls"] = (($this->getAttribute(($context["field"] ?? null), "controls", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["field"] ?? null), "controls", array()), "bottom")) : ("bottom"));
  32. // line 1
  33. $this->parent->display($context, array_merge($this->blocks, $blocks));
  34. }
  35. // line 9
  36. public function block_contents($context, array $blocks = array())
  37. {
  38. // line 10
  39. echo " <div class=\"form-label";
  40. if ( !($context["vertical"] ?? null)) {
  41. echo " block size-1-3 pure-u-1-3";
  42. }
  43. echo "\">
  44. ";
  45. // line 11
  46. if ($this->getAttribute(($context["field"] ?? null), "toggleable", array())) {
  47. // line 12
  48. echo " <span class=\"checkboxes toggleable\" data-grav-field=\"toggleable\" data-grav-field-name=\"";
  49. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Common\Twig\TwigExtension')->fieldNameFilter((($context["scope"] ?? null) . $this->getAttribute(($context["field"] ?? null), "name", array()))), "html", null, true);
  50. echo "\">
  51. <input type=\"checkbox\"
  52. id=\"toggleable_";
  53. // line 14
  54. echo twig_escape_filter($this->env, $this->getAttribute(($context["field"] ?? null), "name", array()), "html", null, true);
  55. echo "\"
  56. ";
  57. // line 15
  58. if (($context["toggleableChecked"] ?? null)) {
  59. echo "value=\"1\"";
  60. }
  61. // line 16
  62. echo " name=\"toggleable_";
  63. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Common\Twig\TwigExtension')->fieldNameFilter((($context["scope"] ?? null) . $this->getAttribute(($context["field"] ?? null), "name", array()))), "html", null, true);
  64. echo "\"
  65. ";
  66. // line 17
  67. if (($context["toggleableChecked"] ?? null)) {
  68. echo "checked=\"checked\"";
  69. }
  70. // line 18
  71. echo " >
  72. <label for=\"toggleable_";
  73. // line 19
  74. echo twig_escape_filter($this->env, $this->getAttribute(($context["field"] ?? null), "name", array()), "html", null, true);
  75. echo "\"></label>
  76. </span>
  77. ";
  78. }
  79. // line 22
  80. echo " <label";
  81. echo (($this->getAttribute(($context["field"] ?? null), "toggleable", array())) ? (((" class=\"toggleable\" for=\"toggleable_" . $this->getAttribute(($context["field"] ?? null), "name", array())) . "\"")) : (""));
  82. echo ">
  83. ";
  84. // line 23
  85. if ($this->getAttribute(($context["field"] ?? null), "help", array())) {
  86. // line 24
  87. echo " <span class=\"hint--bottom\" data-hint=\"";
  88. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter(twig_escape_filter($this->env, $this->getAttribute(($context["field"] ?? null), "help", array()))), "html", null, true);
  89. echo "\">";
  90. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter($this->getAttribute(($context["field"] ?? null), "label", array())), "html", null, true);
  91. echo "</span>
  92. ";
  93. } else {
  94. // line 26
  95. echo " ";
  96. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter($this->getAttribute(($context["field"] ?? null), "label", array())), "html", null, true);
  97. echo "
  98. ";
  99. }
  100. // line 28
  101. echo " ";
  102. echo ((twig_in_filter($this->getAttribute($this->getAttribute(($context["field"] ?? null), "validate", array()), "required", array()), array(0 => "on", 1 => "true", 2 => 1))) ? ("<span class=\"required\">*</span>") : (""));
  103. echo "
  104. </label>
  105. </div>
  106. <div class=\"form-data";
  107. // line 31
  108. if ( !($context["vertical"] ?? null)) {
  109. echo " block size-2-3 pure-u-2-3";
  110. }
  111. echo "\"
  112. ";
  113. // line 32
  114. $this->displayBlock('global_attributes', $context, $blocks);
  115. // line 37
  116. echo " >
  117. <div class=\"form-list-wrapper ";
  118. // line 39
  119. echo twig_escape_filter($this->env, $this->getAttribute(($context["field"] ?? null), "size", array()), "html", null, true);
  120. echo "\" data-type=\"collection\"
  121. ";
  122. // line 40
  123. if ($this->getAttribute(($context["field"] ?? null), "selectunique", array())) {
  124. // line 41
  125. echo " data-select-unique=\"";
  126. echo twig_escape_filter($this->env, twig_jsonencode_filter($this->getAttribute(($context["field"] ?? null), "selectunique", array())), "html_attr");
  127. echo "\"
  128. data-max=\"";
  129. // line 42
  130. echo twig_escape_filter($this->env, twig_length_filter($this->env, $this->getAttribute(($context["field"] ?? null), "selectunique", array())), "html", null, true);
  131. echo "\"
  132. ";
  133. }
  134. // line 44
  135. echo " ";
  136. if ($this->getAttribute(($context["field"] ?? null), "min", array(), "any", true, true)) {
  137. echo "data-min=\"";
  138. echo twig_escape_filter($this->env, $this->getAttribute(($context["field"] ?? null), "min", array()), "html", null, true);
  139. echo "\"";
  140. }
  141. // line 45
  142. echo " ";
  143. if (($this->getAttribute(($context["field"] ?? null), "max", array(), "any", true, true) && !$this->getAttribute(($context["field"] ?? null), "selectunique", array()))) {
  144. echo "data-max=\"";
  145. echo twig_escape_filter($this->env, $this->getAttribute(($context["field"] ?? null), "max", array()), "html", null, true);
  146. echo "\"";
  147. }
  148. // line 46
  149. echo " >
  150. ";
  151. // line 47
  152. if (twig_in_filter(($context["fieldControls"] ?? null), array(0 => "top", 1 => "both"))) {
  153. // line 48
  154. echo " <div class=\"collection-actions\">
  155. ";
  156. // line 49
  157. if (($context["collapsible"] ?? null)) {
  158. // line 50
  159. echo " <button class=\"button\" type=\"button\" data-action=\"expand_all\"
  160. ";
  161. // line 51
  162. if (($this->getAttribute(($context["field"] ?? null), "disabled", array()) || ($context["isDisabledToggleable"] ?? null))) {
  163. echo "disabled=\"disabled\"";
  164. }
  165. echo "><i class=\"fa fa-chevron-circle-down\"></i> ";
  166. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter(twig_escape_filter($this->env, "PLUGIN_ADMIN.EXPAND_ALL")), "html", null, true);
  167. echo "</button>
  168. <button class=\"button\" type=\"button\" data-action=\"collapse_all\"
  169. ";
  170. // line 53
  171. if (($this->getAttribute(($context["field"] ?? null), "disabled", array()) || ($context["isDisabledToggleable"] ?? null))) {
  172. echo "disabled=\"disabled\"";
  173. }
  174. echo "><i class=\"fa fa-chevron-circle-right\"></i> ";
  175. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter(twig_escape_filter($this->env, "PLUGIN_ADMIN.COLLAPSE_ALL")), "html", null, true);
  176. echo "</button>
  177. ";
  178. }
  179. // line 55
  180. echo " ";
  181. if ($this->getAttribute(($context["field"] ?? null), "sortby", array())) {
  182. // line 56
  183. echo " <button class=\"button";
  184. echo (( !twig_length_filter($this->env, ($context["value"] ?? null))) ? (" hidden") : (""));
  185. echo "\" type=\"button\" data-action=\"sort\" data-action-sort=\"";
  186. echo twig_escape_filter($this->env, $this->getAttribute(($context["field"] ?? null), "sortby", array()), "html", null, true);
  187. echo "\" data-action-sort-dir=\"";
  188. echo twig_escape_filter($this->env, (($this->getAttribute(($context["field"] ?? null), "sortby_dir", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["field"] ?? null), "sortby_dir", array()), "asc")) : ("asc")), "html", null, true);
  189. echo "\"
  190. ";
  191. // line 57
  192. if (($this->getAttribute(($context["field"] ?? null), "disabled", array()) || ($context["isDisabledToggleable"] ?? null))) {
  193. echo "disabled=\"disabled\"";
  194. }
  195. echo "><i class=\"fa fa-sort-amount-";
  196. echo twig_escape_filter($this->env, (($this->getAttribute(($context["field"] ?? null), "sortby_dir", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["field"] ?? null), "sortby_dir", array()), "asc")) : ("asc")), "html", null, true);
  197. echo "\"></i> ";
  198. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter(twig_escape_filter($this->env, ($context["btnSortLabel"] ?? null))), "html", null, true);
  199. echo " '";
  200. echo twig_escape_filter($this->env, $this->getAttribute(($context["field"] ?? null), "sortby", array()), "html", null, true);
  201. echo "'</button>
  202. ";
  203. }
  204. // line 59
  205. echo " <button class=\"button\" type=\"button\" data-action=\"add\" data-action-add=\"bottom\"
  206. ";
  207. // line 60
  208. if (($this->getAttribute(($context["field"] ?? null), "disabled", array()) || ($context["isDisabledToggleable"] ?? null))) {
  209. echo "disabled=\"disabled\"";
  210. }
  211. echo "><i class=\"fa fa-plus\"></i> ";
  212. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter(twig_escape_filter($this->env, ($context["btnLabel"] ?? null))), "html", null, true);
  213. echo "</button>
  214. </div>
  215. ";
  216. }
  217. // line 63
  218. echo " <ul ";
  219. if ($this->getAttribute(($context["field"] ?? null), "classes", array(), "any", true, true)) {
  220. echo "class=\"";
  221. echo twig_escape_filter($this->env, $this->getAttribute(($context["field"] ?? null), "classes", array()), "html", null, true);
  222. echo "\"";
  223. }
  224. echo " data-collection-holder=\"";
  225. echo twig_escape_filter($this->env, ($context["name"] ?? null), "html", null, true);
  226. echo "\"
  227. ";
  228. // line 64
  229. if (($this->getAttribute(($context["field"] ?? null), "sort", array()) === false)) {
  230. // line 65
  231. echo " data-collection-nosort
  232. ";
  233. }
  234. // line 66
  235. echo ">
  236. ";
  237. // line 67
  238. if ($this->getAttribute(($context["field"] ?? null), "fields", array())) {
  239. // line 68
  240. echo " ";
  241. $context["collapsible"] = ((twig_length_filter($this->env, $this->getAttribute(($context["field"] ?? null), "fields", array())) > 1) && ( !$this->getAttribute(($context["field"] ?? null), "collapsible", array(), "any", true, true) || $this->getAttribute(($context["field"] ?? null), "collapsible", array())));
  242. // line 69
  243. echo " ";
  244. $context['_parent'] = $context;
  245. $context['_seq'] = twig_ensure_traversable(($context["value"] ?? null));
  246. $context['loop'] = array(
  247. 'parent' => $context['_parent'],
  248. 'index0' => 0,
  249. 'index' => 1,
  250. 'first' => true,
  251. );
  252. if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
  253. $length = count($context['_seq']);
  254. $context['loop']['revindex0'] = $length - 1;
  255. $context['loop']['revindex'] = $length;
  256. $context['loop']['length'] = $length;
  257. $context['loop']['last'] = 1 === $length;
  258. }
  259. foreach ($context['_seq'] as $context["key"] => $context["val"]) {
  260. // line 70
  261. echo " ";
  262. $context["itemName"] = ((($context["name"] ?? null)) ? (((($context["name"] ?? null) . ".") . $context["key"])) : ($context["key"]));
  263. // line 71
  264. echo " <li data-collection-item=\"";
  265. echo twig_escape_filter($this->env, ($context["itemName"] ?? null), "html", null, true);
  266. echo "\" data-collection-key=\"";
  267. echo twig_escape_filter($this->env, $context["key"], "html", null, true);
  268. echo "\" class=\"";
  269. echo (((($context["collapsible"] ?? null) && $this->getAttribute(($context["field"] ?? null), "collapsed", array()))) ? ("collection-collapsed") : (""));
  270. echo "\">
  271. <div class=\"collection-sort\"><i class=\"fa fa-fw fa-bars\"></i></div>
  272. ";
  273. // line 73
  274. $context['_parent'] = $context;
  275. $context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["field"] ?? null), "fields", array()));
  276. $context['loop'] = array(
  277. 'parent' => $context['_parent'],
  278. 'index0' => 0,
  279. 'index' => 1,
  280. 'first' => true,
  281. );
  282. if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
  283. $length = count($context['_seq']);
  284. $context['loop']['revindex0'] = $length - 1;
  285. $context['loop']['revindex'] = $length;
  286. $context['loop']['length'] = $length;
  287. $context['loop']['last'] = 1 === $length;
  288. }
  289. foreach ($context['_seq'] as $context["childName"] => $context["child"]) {
  290. // line 74
  291. if (($context["childName"] == "value")) {
  292. // line 75
  293. $context["childKey"] = "";
  294. // line 76
  295. echo " ";
  296. $context["childValue"] = $context["val"];
  297. // line 77
  298. echo " ";
  299. $context["childName"] = ($context["itemName"] ?? null);
  300. } elseif ((is_string($__internal_7cd7461123377b8c9c1b6a01f46c7bbd94bd12e59266005df5e93029ddbc0ec5 = // line 78
  301. $context["childName"]) && is_string($__internal_3e28b7f596c58d7729642bcf2acc6efc894803703bf5fa7e74cd8d2aa1f8c68a = ".") && ('' === $__internal_3e28b7f596c58d7729642bcf2acc6efc894803703bf5fa7e74cd8d2aa1f8c68a || 0 === strpos($__internal_7cd7461123377b8c9c1b6a01f46c7bbd94bd12e59266005df5e93029ddbc0ec5, $__internal_3e28b7f596c58d7729642bcf2acc6efc894803703bf5fa7e74cd8d2aa1f8c68a)))) {
  302. // line 79
  303. $context["childKey"] = twig_trim_filter($context["childName"], ".");
  304. // line 80
  305. echo " ";
  306. $context["childValue"] = $this->getAttribute($context["val"], twig_slice($this->env, $context["childName"], 1, null), array(), "array");
  307. // line 81
  308. echo " ";
  309. $context["childName"] = (($context["itemName"] ?? null) . $context["childName"]);
  310. // line 82
  311. echo " ";
  312. } else {
  313. // line 83
  314. echo " ";
  315. $context["childKey"] = $context["childName"];
  316. // line 84
  317. echo " ";
  318. $context["childValue"] = $this->getAttribute(($context["data"] ?? null), "value", array(0 => (($context["scope"] ?? null) . $context["childName"])), "method");
  319. // line 85
  320. echo " ";
  321. $context["childName"] = twig_replace_filter($context["childName"], array("*" => $context["key"]));
  322. // line 86
  323. echo " ";
  324. }
  325. // line 87
  326. echo " ";
  327. $context["child"] = twig_array_merge($context["child"], array("name" => $context["childName"]));
  328. // line 88
  329. echo "
  330. ";
  331. // line 89
  332. if (($this->getAttribute($context["child"], "type", array()) == "key")) {
  333. // line 90
  334. echo " ";
  335. // line 91
  336. $this->loadTemplate("forms/fields/key/key.html.twig", "forms/fields/list/list.html.twig", 91)->display(array_merge($context, array("field" => // line 92
  337. $context["child"], "value" => $context["key"])));
  338. // line 94
  339. echo " ";
  340. } elseif (($this->getAttribute($context["child"], "key", array()) == true)) {
  341. // line 95
  342. echo " ";
  343. $this->loadTemplate(array(0 => (((("forms/fields/" . $this->getAttribute( // line 96
  344. $context["child"], "type", array())) . "/") . $this->getAttribute($context["child"], "type", array())) . ".html.twig"), 1 => "forms/fields/key/key.html.twig"), "forms/fields/list/list.html.twig", 95)->display(array_merge($context, array("field" => // line 98
  345. $context["child"], "value" => $context["key"])));
  346. // line 100
  347. echo " ";
  348. } elseif ($this->getAttribute($context["child"], "type", array())) {
  349. // line 101
  350. echo " ";
  351. $context["originalValue"] = ($context["childValue"] ?? null);
  352. // line 102
  353. echo " ";
  354. // line 103
  355. $this->loadTemplate(array(0 => (((("forms/fields/" . $this->getAttribute( // line 104
  356. $context["child"], "type", array())) . "/") . $this->getAttribute($context["child"], "type", array())) . ".html.twig"), 1 => "forms/fields/text/text.html.twig"), "forms/fields/list/list.html.twig", 103)->display(array_merge($context, array("field" => // line 106
  357. $context["child"], "value" => ($context["childValue"] ?? null))));
  358. // line 108
  359. echo " ";
  360. }
  361. // line 109
  362. echo " ";
  363. ++$context['loop']['index0'];
  364. ++$context['loop']['index'];
  365. $context['loop']['first'] = false;
  366. if (isset($context['loop']['length'])) {
  367. --$context['loop']['revindex0'];
  368. --$context['loop']['revindex'];
  369. $context['loop']['last'] = 0 === $context['loop']['revindex0'];
  370. }
  371. }
  372. $_parent = $context['_parent'];
  373. unset($context['_seq'], $context['_iterated'], $context['childName'], $context['child'], $context['_parent'], $context['loop']);
  374. $context = array_intersect_key($context, $_parent) + $_parent;
  375. // line 110
  376. echo " <div class=\"item-actions\">
  377. ";
  378. // line 111
  379. if (($context["collapsible"] ?? null)) {
  380. // line 112
  381. echo " <i class=\"fa fa-chevron-circle-";
  382. echo (($this->getAttribute(($context["field"] ?? null), "collapsed", array())) ? ("right") : ("down"));
  383. echo "\" data-action=\"";
  384. echo (($this->getAttribute(($context["field"] ?? null), "collapsed", array())) ? ("expand") : ("collapse"));
  385. echo "\"></i>
  386. <br />
  387. ";
  388. }
  389. // line 115
  390. echo " <i class=\"fa fa-trash-o\" data-action=\"delete\"></i>
  391. </div>
  392. </li>
  393. ";
  394. ++$context['loop']['index0'];
  395. ++$context['loop']['index'];
  396. $context['loop']['first'] = false;
  397. if (isset($context['loop']['length'])) {
  398. --$context['loop']['revindex0'];
  399. --$context['loop']['revindex'];
  400. $context['loop']['last'] = 0 === $context['loop']['revindex0'];
  401. }
  402. }
  403. $_parent = $context['_parent'];
  404. unset($context['_seq'], $context['_iterated'], $context['key'], $context['val'], $context['_parent'], $context['loop']);
  405. $context = array_intersect_key($context, $_parent) + $_parent;
  406. // line 119
  407. echo " ";
  408. }
  409. // line 120
  410. echo " </ul>
  411. ";
  412. // line 121
  413. if (twig_in_filter(($context["fieldControls"] ?? null), array(0 => "bottom", 1 => "both"))) {
  414. // line 122
  415. echo " <div class=\"collection-actions\">
  416. ";
  417. // line 123
  418. if (($context["collapsible"] ?? null)) {
  419. // line 124
  420. echo " <button class=\"button\" type=\"button\" data-action=\"expand_all\"
  421. ";
  422. // line 125
  423. if (($this->getAttribute(($context["field"] ?? null), "disabled", array()) || ($context["isDisabledToggleable"] ?? null))) {
  424. echo "disabled=\"disabled\"";
  425. }
  426. echo "><i class=\"fa fa-chevron-circle-down\"></i> ";
  427. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter(twig_escape_filter($this->env, "PLUGIN_ADMIN.EXPAND_ALL")), "html", null, true);
  428. echo "</button>
  429. <button class=\"button\" type=\"button\" data-action=\"collapse_all\"
  430. ";
  431. // line 127
  432. if (($this->getAttribute(($context["field"] ?? null), "disabled", array()) || ($context["isDisabledToggleable"] ?? null))) {
  433. echo "disabled=\"disabled\"";
  434. }
  435. echo "><i class=\"fa fa-chevron-circle-right\"></i> ";
  436. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter(twig_escape_filter($this->env, "PLUGIN_ADMIN.COLLAPSE_ALL")), "html", null, true);
  437. echo "</button>
  438. ";
  439. }
  440. // line 129
  441. echo " ";
  442. if ($this->getAttribute(($context["field"] ?? null), "sortby", array())) {
  443. // line 130
  444. echo " <button class=\"button";
  445. echo (( !twig_length_filter($this->env, ($context["value"] ?? null))) ? (" hidden") : (""));
  446. echo "\" type=\"button\" data-action=\"sort\" data-action-sort=\"";
  447. echo twig_escape_filter($this->env, $this->getAttribute(($context["field"] ?? null), "sortby", array()), "html", null, true);
  448. echo "\" data-action-sort-dir=\"";
  449. echo twig_escape_filter($this->env, (($this->getAttribute(($context["field"] ?? null), "sortby_dir", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["field"] ?? null), "sortby_dir", array()), "asc")) : ("asc")), "html", null, true);
  450. echo "\"
  451. ";
  452. // line 131
  453. if (($this->getAttribute(($context["field"] ?? null), "disabled", array()) || ($context["isDisabledToggleable"] ?? null))) {
  454. echo "disabled=\"disabled\"";
  455. }
  456. echo "><i class=\"fa fa-sort-amount-";
  457. echo twig_escape_filter($this->env, (($this->getAttribute(($context["field"] ?? null), "sortby_dir", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["field"] ?? null), "sortby_dir", array()), "asc")) : ("asc")), "html", null, true);
  458. echo "\"></i> ";
  459. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter(twig_escape_filter($this->env, ($context["btnSortLabel"] ?? null))), "html", null, true);
  460. echo " '";
  461. echo twig_escape_filter($this->env, $this->getAttribute(($context["field"] ?? null), "sortby", array()), "html", null, true);
  462. echo "'</button>
  463. ";
  464. }
  465. // line 133
  466. echo " <button class=\"button\" type=\"button\" data-action=\"add\" data-action-add=\"bottom\"
  467. ";
  468. // line 134
  469. if (($this->getAttribute(($context["field"] ?? null), "disabled", array()) || ($context["isDisabledToggleable"] ?? null))) {
  470. echo "disabled=\"disabled\"";
  471. }
  472. echo "><i class=\"fa fa-plus\"></i> ";
  473. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter(twig_escape_filter($this->env, ($context["btnLabel"] ?? null))), "html", null, true);
  474. echo "</button>
  475. </div>
  476. ";
  477. }
  478. // line 138
  479. $context["itemName"] = ((($context["name"] ?? null)) ? ((($context["name"] ?? null) . ".*")) : ("*"));
  480. // line 139
  481. echo "<div style=\"display: none;\" data-collection-template=\"new\" data-collection-template-html=\"";
  482. echo twig_escape_filter($this->env, twig_replace_filter( $this->renderBlock("__internal_e408f6e41354bae6411f4fb2bf2e9ca816e0821165964d2e30246de2e260224d", $context, $blocks), array(" " => " ", "
  483. " => " ")), "html_attr");
  484. // line 188
  485. echo "\"></div>
  486. <div style=\"display: none;\" data-collection-config=\"";
  487. // line 190
  488. echo twig_escape_filter($this->env, ($context["name"] ?? null), "html", null, true);
  489. echo "\"></div>
  490. </div>
  491. </div>
  492. ";
  493. }
  494. // line 32
  495. public function block_global_attributes($context, array $blocks = array())
  496. {
  497. // line 33
  498. echo " data-grav-field=\"";
  499. echo twig_escape_filter($this->env, $this->getAttribute(($context["field"] ?? null), "type", array()), "html", null, true);
  500. echo "\"
  501. data-grav-disabled=\"";
  502. // line 34
  503. echo twig_escape_filter($this->env, ($context["toggleableChecked"] ?? null), "html", null, true);
  504. echo "\"
  505. data-grav-default=\"";
  506. // line 35
  507. echo twig_escape_filter($this->env, twig_jsonencode_filter($this->getAttribute(($context["field"] ?? null), "default", array())), "html_attr");
  508. echo "\"
  509. ";
  510. }
  511. // line 139
  512. public function block___internal_e408f6e41354bae6411f4fb2bf2e9ca816e0821165964d2e30246de2e260224d($context, array $blocks = array())
  513. {
  514. // line 140
  515. echo "<li data-collection-item=\"";
  516. echo twig_escape_filter($this->env, ($context["itemName"] ?? null), "html", null, true);
  517. echo "\">
  518. ";
  519. // line 141
  520. if ( !($this->getAttribute(($context["field"] ?? null), "sort", array()) === false)) {
  521. // line 142
  522. echo " <div class=\"collection-sort\"><i class=\"fa fa-fw fa-bars\"></i></div>
  523. ";
  524. }
  525. // line 144
  526. if ($this->getAttribute(($context["field"] ?? null), "fields", array())) {
  527. // line 145
  528. $context['_parent'] = $context;
  529. $context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["field"] ?? null), "fields", array()));
  530. $context['loop'] = array(
  531. 'parent' => $context['_parent'],
  532. 'index0' => 0,
  533. 'index' => 1,
  534. 'first' => true,
  535. );
  536. if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
  537. $length = count($context['_seq']);
  538. $context['loop']['revindex0'] = $length - 1;
  539. $context['loop']['revindex'] = $length;
  540. $context['loop']['length'] = $length;
  541. $context['loop']['last'] = 1 === $length;
  542. }
  543. foreach ($context['_seq'] as $context["childName"] => $context["child"]) {
  544. // line 146
  545. if (($context["childName"] == "value")) {
  546. // line 147
  547. $context["childKey"] = "";
  548. // line 148
  549. $context["childName"] = ($context["itemName"] ?? null);
  550. } elseif ((is_string($__internal_b0b3d6199cdf4d15a08b3fb98fe017ecb01164300193d18d78027218d843fc57 = // line 149
  551. $context["childName"]) && is_string($__internal_81ccf322d0988ca0aa9ae9943d772c435c5ff01fb50b956278e245e40ae66ab9 = ".") && ('' === $__internal_81ccf322d0988ca0aa9ae9943d772c435c5ff01fb50b956278e245e40ae66ab9 || 0 === strpos($__internal_b0b3d6199cdf4d15a08b3fb98fe017ecb01164300193d18d78027218d843fc57, $__internal_81ccf322d0988ca0aa9ae9943d772c435c5ff01fb50b956278e245e40ae66ab9)))) {
  552. // line 150
  553. $context["childKey"] = twig_trim_filter($context["childName"], ".");
  554. // line 151
  555. $context["childName"] = (($context["itemName"] ?? null) . $context["childName"]);
  556. } else {
  557. // line 153
  558. $context["childKey"] = $context["childName"];
  559. // line 154
  560. $context["childName"] = twig_replace_filter($context["childName"], array("*" => ($context["key"] ?? null)));
  561. }
  562. // line 156
  563. $context["child"] = twig_array_merge($context["child"], array("name" => $context["childName"]));
  564. // line 158
  565. if (($this->getAttribute($context["child"], "type", array()) == "key")) {
  566. // line 160
  567. $this->loadTemplate("forms/fields/key/key.html.twig", "forms/fields/list/list.html.twig", 160)->display(array_merge($context, array("field" => // line 161
  568. $context["child"], "value" => null)));
  569. } elseif (($this->getAttribute( // line 163
  570. $context["child"], "key", array()) == true)) {
  571. // line 165
  572. $this->loadTemplate(array(0 => (((("forms/fields/" . $this->getAttribute( // line 166
  573. $context["child"], "type", array())) . "/") . $this->getAttribute($context["child"], "type", array())) . ".html.twig"), 1 => "forms/fields/key/key.html.twig"), "forms/fields/list/list.html.twig", 165)->display(array_merge($context, array("field" => // line 168
  574. $context["child"], "value" => null)));
  575. } elseif ($this->getAttribute( // line 170
  576. $context["child"], "type", array())) {
  577. // line 172
  578. $this->loadTemplate(array(0 => (((("forms/fields/" . $this->getAttribute( // line 173
  579. $context["child"], "type", array())) . "/") . $this->getAttribute($context["child"], "type", array())) . ".html.twig"), 1 => "forms/fields/text/text.html.twig"), "forms/fields/list/list.html.twig", 172)->display(array_merge($context, array("field" => // line 175
  580. $context["child"], "value" => null)));
  581. }
  582. ++$context['loop']['index0'];
  583. ++$context['loop']['index'];
  584. $context['loop']['first'] = false;
  585. if (isset($context['loop']['length'])) {
  586. --$context['loop']['revindex0'];
  587. --$context['loop']['revindex'];
  588. $context['loop']['last'] = 0 === $context['loop']['revindex0'];
  589. }
  590. }
  591. $_parent = $context['_parent'];
  592. unset($context['_seq'], $context['_iterated'], $context['childName'], $context['child'], $context['_parent'], $context['loop']);
  593. $context = array_intersect_key($context, $_parent) + $_parent;
  594. // line 179
  595. echo " <div class=\"item-actions\">
  596. ";
  597. // line 180
  598. if (($context["collapsible"] ?? null)) {
  599. // line 181
  600. echo " <i class=\"fa fa-chevron-circle-down\" data-action=\"collapse\"></i>
  601. <br />
  602. ";
  603. }
  604. // line 184
  605. echo " <i class=\"fa fa-trash-o\" data-action=\"delete\"></i>
  606. </div>";
  607. }
  608. // line 187
  609. echo "</li>";
  610. }
  611. public function getTemplateName()
  612. {
  613. return "forms/fields/list/list.html.twig";
  614. }
  615. public function isTraitable()
  616. {
  617. return false;
  618. }
  619. public function getDebugInfo()
  620. {
  621. return array ( 618 => 187, 614 => 184, 609 => 181, 607 => 180, 604 => 179, 589 => 175, 588 => 173, 587 => 172, 585 => 170, 583 => 168, 582 => 166, 581 => 165, 579 => 163, 577 => 161, 576 => 160, 574 => 158, 572 => 156, 569 => 154, 567 => 153, 564 => 151, 562 => 150, 560 => 149, 558 => 148, 556 => 147, 554 => 146, 537 => 145, 535 => 144, 531 => 142, 529 => 141, 524 => 140, 521 => 139, 515 => 35, 511 => 34, 506 => 33, 503 => 32, 495 => 190, 491 => 188, 487 => 139, 485 => 138, 475 => 134, 472 => 133, 459 => 131, 450 => 130, 447 => 129, 438 => 127, 429 => 125, 426 => 124, 424 => 123, 421 => 122, 419 => 121, 416 => 120, 413 => 119, 396 => 115, 387 => 112, 385 => 111, 382 => 110, 368 => 109, 365 => 108, 363 => 106, 362 => 104, 361 => 103, 359 => 102, 356 => 101, 353 => 100, 351 => 98, 350 => 96, 348 => 95, 345 => 94, 343 => 92, 342 => 91, 340 => 90, 338 => 89, 335 => 88, 332 => 87, 329 => 86, 326 => 85, 323 => 84, 320 => 83, 317 => 82, 314 => 81, 311 => 80, 309 => 79, 307 => 78, 304 => 77, 301 => 76, 299 => 75, 297 => 74, 280 => 73, 270 => 71, 267 => 70, 249 => 69, 246 => 68, 244 => 67, 241 => 66, 237 => 65, 235 => 64, 224 => 63, 214 => 60, 211 => 59, 198 => 57, 189 => 56, 186 => 55, 177 => 53, 168 => 51, 165 => 50, 163 => 49, 160 => 48, 158 => 47, 155 => 46, 148 => 45, 141 => 44, 136 => 42, 131 => 41, 129 => 40, 125 => 39, 121 => 37, 119 => 32, 113 => 31, 106 => 28, 100 => 26, 92 => 24, 90 => 23, 85 => 22, 79 => 19, 76 => 18, 72 => 17, 67 => 16, 63 => 15, 59 => 14, 53 => 12, 51 => 11, 44 => 10, 41 => 9, 37 => 1, 35 => 7, 33 => 6, 31 => 5, 29 => 4, 27 => 3, 11 => 1,);
  622. }
  623. /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
  624. public function getSource()
  625. {
  626. @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
  627. return $this->getSourceContext()->getCode();
  628. }
  629. public function getSourceContext()
  630. {
  631. return new Twig_Source("{% extends \"forms/field.html.twig\" %}
  632. {% set value = (value is null ? field.default : value) %}
  633. {% set name = field.name %}
  634. {% set btnLabel = field.btnLabel is defined ? field.btnLabel : \"PLUGIN_ADMIN.ADD_ITEM\" %}
  635. {% set btnSortLabel = field.btnSortLabel is defined ? field.btnSortLabel : \"PLUGIN_ADMIN.SORT_BY\" %}
  636. {% set fieldControls = field.controls|default('bottom') %}
  637. {% block contents %}
  638. <div class=\"form-label{% if not vertical %} block size-1-3 pure-u-1-3{% endif %}\">
  639. {% if field.toggleable %}
  640. <span class=\"checkboxes toggleable\" data-grav-field=\"toggleable\" data-grav-field-name=\"{{ (scope ~ field.name)|fieldName }}\">
  641. <input type=\"checkbox\"
  642. id=\"toggleable_{{ field.name }}\"
  643. {% if toggleableChecked %}value=\"1\"{% endif %}
  644. name=\"toggleable_{{ (scope ~ field.name)|fieldName }}\"
  645. {% if toggleableChecked %}checked=\"checked\"{% endif %}
  646. >
  647. <label for=\"toggleable_{{ field.name }}\"></label>
  648. </span>
  649. {% endif %}
  650. <label{{ (field.toggleable ? ' class=\"toggleable\" for=\"toggleable_' ~ field.name ~ '\"')|raw }}>
  651. {% if field.help %}
  652. <span class=\"hint--bottom\" data-hint=\"{{ field.help|e|tu }}\">{{ field.label|tu }}</span>
  653. {% else %}
  654. {{ field.label|tu }}
  655. {% endif %}
  656. {{ field.validate.required in ['on', 'true', 1] ? '<span class=\"required\">*</span>' }}
  657. </label>
  658. </div>
  659. <div class=\"form-data{% if not vertical %} block size-2-3 pure-u-2-3{% endif %}\"
  660. {% block global_attributes %}
  661. data-grav-field=\"{{ field.type }}\"
  662. data-grav-disabled=\"{{ toggleableChecked }}\"
  663. data-grav-default=\"{{ field.default|json_encode|e('html_attr') }}\"
  664. {% endblock %}
  665. >
  666. <div class=\"form-list-wrapper {{ field.size }}\" data-type=\"collection\"
  667. {% if field.selectunique %}
  668. data-select-unique=\"{{ field.selectunique|json_encode|e('html_attr') }}\"
  669. data-max=\"{{ field.selectunique|length }}\"
  670. {% endif %}
  671. {% if field.min is defined %}data-min=\"{{ field.min }}\"{% endif %}
  672. {% if field.max is defined and not field.selectunique %}data-max=\"{{ field.max }}\"{% endif %}
  673. >
  674. {% if fieldControls in ['top', 'both'] %}
  675. <div class=\"collection-actions\">
  676. {% if collapsible %}
  677. <button class=\"button\" type=\"button\" data-action=\"expand_all\"
  678. {% if field.disabled or isDisabledToggleable %}disabled=\"disabled\"{% endif %}><i class=\"fa fa-chevron-circle-down\"></i> {{ \"PLUGIN_ADMIN.EXPAND_ALL\"|e|tu }}</button>
  679. <button class=\"button\" type=\"button\" data-action=\"collapse_all\"
  680. {% if field.disabled or isDisabledToggleable %}disabled=\"disabled\"{% endif %}><i class=\"fa fa-chevron-circle-right\"></i> {{ \"PLUGIN_ADMIN.COLLAPSE_ALL\"|e|tu }}</button>
  681. {% endif %}
  682. {% if field.sortby %}
  683. <button class=\"button{{ not value|length ? ' hidden' : '' }}\" type=\"button\" data-action=\"sort\" data-action-sort=\"{{ field.sortby }}\" data-action-sort-dir=\"{{ field.sortby_dir|default('asc') }}\"
  684. {% if field.disabled or isDisabledToggleable %}disabled=\"disabled\"{% endif %}><i class=\"fa fa-sort-amount-{{ field.sortby_dir|default('asc') }}\"></i> {{ btnSortLabel|e|tu }} '{{ field.sortby }}'</button>
  685. {% endif %}
  686. <button class=\"button\" type=\"button\" data-action=\"add\" data-action-add=\"bottom\"
  687. {% if field.disabled or isDisabledToggleable %}disabled=\"disabled\"{% endif %}><i class=\"fa fa-plus\"></i> {{ btnLabel|e|tu }}</button>
  688. </div>
  689. {% endif %}
  690. <ul {% if field.classes is defined %}class=\"{{ field.classes }}\"{% endif %} data-collection-holder=\"{{ name }}\"
  691. {% if field.sort is same as(false) %}
  692. data-collection-nosort
  693. {% endif %}>
  694. {% if field.fields %}
  695. {% set collapsible = field.fields|length > 1 and (field.collapsible is not defined or field.collapsible) %}
  696. {% for key, val in value %}
  697. {% set itemName = name ? name ~ '.' ~ key : key %}
  698. <li data-collection-item=\"{{ itemName }}\" data-collection-key=\"{{ key }}\" class=\"{{ collapsible and field.collapsed ? 'collection-collapsed' : '' }}\">
  699. <div class=\"collection-sort\"><i class=\"fa fa-fw fa-bars\"></i></div>
  700. {% for childName, child in field.fields %}
  701. {%- if childName == 'value' -%}
  702. {% set childKey = '' %}
  703. {% set childValue = val %}
  704. {% set childName = itemName -%}
  705. {%- elseif childName starts with '.' -%}
  706. {% set childKey = childName|trim('.') %}
  707. {% set childValue = val[childName[1:]] %}
  708. {% set childName = itemName ~ childName %}
  709. {% else %}
  710. {% set childKey = childName %}
  711. {% set childValue = data.value(scope ~ childName) %}
  712. {% set childName = childName|replace({'*': key}) %}
  713. {% endif %}
  714. {% set child = child|merge({ name: childName }) %}
  715. {% if child.type == 'key' %}
  716. {%
  717. include 'forms/fields/key/key.html.twig'
  718. with { field: child, value: key }
  719. %}
  720. {% elseif child.key == true %}
  721. {% include [
  722. \"forms/fields/#{child.type}/#{child.type}.html.twig\",
  723. 'forms/fields/key/key.html.twig'
  724. ] with { field: child, value: key }
  725. %}
  726. {% elseif child.type %}
  727. {% set originalValue = childValue %}
  728. {%
  729. include [
  730. \"forms/fields/#{child.type}/#{child.type}.html.twig\",
  731. 'forms/fields/text/text.html.twig'
  732. ] with { field: child, value: childValue }
  733. %}
  734. {% endif %}
  735. {% endfor %}
  736. <div class=\"item-actions\">
  737. {% if collapsible %}
  738. <i class=\"fa fa-chevron-circle-{{ field.collapsed ? 'right' : 'down' }}\" data-action=\"{{ field.collapsed ? 'expand' : 'collapse' }}\"></i>
  739. <br />
  740. {% endif %}
  741. <i class=\"fa fa-trash-o\" data-action=\"delete\"></i>
  742. </div>
  743. </li>
  744. {% endfor %}
  745. {% endif %}
  746. </ul>
  747. {% if fieldControls in ['bottom', 'both'] %}
  748. <div class=\"collection-actions\">
  749. {% if collapsible %}
  750. <button class=\"button\" type=\"button\" data-action=\"expand_all\"
  751. {% if field.disabled or isDisabledToggleable %}disabled=\"disabled\"{% endif %}><i class=\"fa fa-chevron-circle-down\"></i> {{ \"PLUGIN_ADMIN.EXPAND_ALL\"|e|tu }}</button>
  752. <button class=\"button\" type=\"button\" data-action=\"collapse_all\"
  753. {% if field.disabled or isDisabledToggleable %}disabled=\"disabled\"{% endif %}><i class=\"fa fa-chevron-circle-right\"></i> {{ \"PLUGIN_ADMIN.COLLAPSE_ALL\"|e|tu }}</button>
  754. {% endif %}
  755. {% if field.sortby %}
  756. <button class=\"button{{ not value|length ? ' hidden' : '' }}\" type=\"button\" data-action=\"sort\" data-action-sort=\"{{ field.sortby }}\" data-action-sort-dir=\"{{ field.sortby_dir|default('asc') }}\"
  757. {% if field.disabled or isDisabledToggleable %}disabled=\"disabled\"{% endif %}><i class=\"fa fa-sort-amount-{{ field.sortby_dir|default('asc') }}\"></i> {{ btnSortLabel|e|tu }} '{{ field.sortby }}'</button>
  758. {% endif %}
  759. <button class=\"button\" type=\"button\" data-action=\"add\" data-action-add=\"bottom\"
  760. {% if field.disabled or isDisabledToggleable %}disabled=\"disabled\"{% endif %}><i class=\"fa fa-plus\"></i> {{ btnLabel|e|tu }}</button>
  761. </div>
  762. {% endif %}
  763. {%- set itemName = name ? name ~ '.*' : '*' -%}
  764. <div style=\"display: none;\" data-collection-template=\"new\" data-collection-template-html=\"{%- filter replace({' ': ' ', '\\n': ' '})|e('html_attr') -%}
  765. <li data-collection-item=\"{{ itemName }}\">
  766. {% if field.sort is not same as(false) %}
  767. <div class=\"collection-sort\"><i class=\"fa fa-fw fa-bars\"></i></div>
  768. {% endif %}
  769. {%- if field.fields -%}
  770. {%- for childName, child in field.fields -%}
  771. {%- if childName == 'value' -%}
  772. {%- set childKey = '' -%}
  773. {%- set childName = itemName -%}
  774. {%- elseif childName starts with '.' -%}
  775. {%- set childKey = childName|trim('.') -%}
  776. {%- set childName = itemName ~ childName -%}
  777. {%- else %}
  778. {%- set childKey = childName -%}
  779. {%- set childName = childName|replace({'*': key}) -%}
  780. {%- endif %}
  781. {%- set child = child|merge({ name: childName }) -%}
  782. {%- if child.type == 'key' -%}
  783. {%-
  784. include 'forms/fields/key/key.html.twig'
  785. with { field: child, value: null }
  786. -%}
  787. {%- elseif child.key == true -%}
  788. {%-
  789. include [
  790. \"forms/fields/#{child.type}/#{child.type}.html.twig\",
  791. 'forms/fields/key/key.html.twig'
  792. ] with { field: child, value: null }
  793. -%}
  794. {%- elseif child.type -%}
  795. {%-
  796. include [
  797. \"forms/fields/#{child.type}/#{child.type}.html.twig\",
  798. 'forms/fields/text/text.html.twig'
  799. ] with { field: child, value: null }
  800. -%}
  801. {%- endif -%}
  802. {%- endfor %}
  803. <div class=\"item-actions\">
  804. {% if collapsible %}
  805. <i class=\"fa fa-chevron-circle-down\" data-action=\"collapse\"></i>
  806. <br />
  807. {% endif %}
  808. <i class=\"fa fa-trash-o\" data-action=\"delete\"></i>
  809. </div>
  810. {%- endif -%}
  811. </li>
  812. {%- endfilter -%}\"></div>
  813. <div style=\"display: none;\" data-collection-config=\"{{ name }}\"></div>
  814. </div>
  815. </div>
  816. {% endblock %}
  817. ", "forms/fields/list/list.html.twig", "/mnt/data/Sites/r2c.net/user/plugins/admin/themes/grav/templates/forms/fields/list/list.html.twig");
  818. }
  819. }