df835f321be51afeb87ddb460bf279876ed2a9bb5a0550f92dbb1441b2134074.php 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <?php
  2. /* forms/fields/blueprint/blueprint.html.twig */
  3. class __TwigTemplate_ffa96abaeca1223df3ad290847d9c6b31357ba50c2cd255819a85c9da0765923 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. );
  11. }
  12. protected function doDisplay(array $context, array $blocks = array())
  13. {
  14. // line 1
  15. echo "<input
  16. data-grav-field=\"hidden\"
  17. data-grav-disabled=\"false\"
  18. type=\"hidden\"
  19. class=\"input\"
  20. ";
  21. // line 6
  22. if (($this->getAttribute(($context["field"] ?? null), "disabled", array()) || ($context["isDisabledToggleable"] ?? null))) {
  23. echo "disabled=\"disabled\"";
  24. }
  25. // line 7
  26. echo " name=\"";
  27. 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);
  28. echo "\"
  29. value=\"";
  30. // line 8
  31. echo twig_escape_filter($this->env, $this->getAttribute(($context["blueprints"] ?? null), "name", array()), "html", null, true);
  32. echo "\" />
  33. ";
  34. }
  35. public function getTemplateName()
  36. {
  37. return "forms/fields/blueprint/blueprint.html.twig";
  38. }
  39. public function isTraitable()
  40. {
  41. return false;
  42. }
  43. public function getDebugInfo()
  44. {
  45. return array ( 35 => 8, 30 => 7, 26 => 6, 19 => 1,);
  46. }
  47. /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
  48. public function getSource()
  49. {
  50. @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
  51. return $this->getSourceContext()->getCode();
  52. }
  53. public function getSourceContext()
  54. {
  55. return new Twig_Source("<input
  56. data-grav-field=\"hidden\"
  57. data-grav-disabled=\"false\"
  58. type=\"hidden\"
  59. class=\"input\"
  60. {% if field.disabled or isDisabledToggleable %}disabled=\"disabled\"{% endif %}
  61. name=\"{{ (scope ~ field.name)|fieldName }}\"
  62. value=\"{{ blueprints.name }}\" />
  63. ", "forms/fields/blueprint/blueprint.html.twig", "/mnt/data/Sites/static-ethica.net/user/plugins/admin/themes/grav/templates/forms/fields/blueprint/blueprint.html.twig");
  64. }
  65. }