0byt3m1n1
Path:
/
home
/
mgatv524
/
www
/
midiatech
/
cache
/
29
/
[
Home
]
File: 290086410a47ebe877ce5891025336ff3e69be882ef9281028ecf3b4846f96b2.php
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* displaygroup-form-delete.twig */ class __TwigTemplate_d99746e65dac770d33818e9103bb4294676f5bf8741ca423ab2b27d94c960543 extends \Twig\Template { public function __construct(Environment $env) { parent::__construct($env); $this->blocks = [ 'formTitle' => [$this, 'block_formTitle'], 'formButtons' => [$this, 'block_formButtons'], 'formHtml' => [$this, 'block_formHtml'], ]; } protected function doGetParent(array $context) { // line 10 return "form-base.twig"; } protected function doDisplay(array $context, array $blocks = []) { // line 11 $context["forms"] = $this->loadTemplate("forms.twig", "displaygroup-form-delete.twig", 11)->unwrap(); // line 10 $this->parent = $this->loadTemplate("form-base.twig", "displaygroup-form-delete.twig", 10); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 13 public function block_formTitle($context, array $blocks = []) { // line 14 echo " "; echo __("Delete Display Group"); } // line 17 public function block_formButtons($context, array $blocks = []) { // line 18 echo " "; echo __("Help"); echo ", XiboHelpRender(\""; echo twig_escape_filter($this->env, ($context["help"] ?? null), "html", null, true); echo "\") "; // line 19 echo __("Cancel"); echo ", XiboDialogClose() "; // line 20 echo __("Yes"); echo ", \$(\"#displayGroupDeleteForm\").submit() "; } // line 23 public function block_formHtml($context, array $blocks = []) { // line 24 echo " <div class=\"row\"> <div class=\"col-md-12\"> <form id=\"displayGroupDeleteForm\" class=\"XiboForm form-horizontal\" method=\"delete\" action=\""; // line 26 echo twig_escape_filter($this->env, $this->env->getExtension('Slim\Views\TwigExtension')->urlFor("displayGroup.delete", ["id" => $this->getAttribute(($context["displayGroup"] ?? null), "displayGroupId", [])]), "html", null, true); echo "\"> "; // line 27 ob_start(); echo __("Are you sure you want to delete this display group? This cannot be undone"); $context["message"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 28 echo " "; echo $context["forms"]->getmessage(($context["message"] ?? null)); echo " </form> </div> </div> "; } public function getTemplateName() { return "displaygroup-form-delete.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 87 => 28, 83 => 27, 79 => 26, 75 => 24, 72 => 23, 66 => 20, 62 => 19, 55 => 18, 52 => 17, 47 => 14, 44 => 13, 39 => 10, 37 => 11, 31 => 10,); } /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */ public function getSource() { @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED); return $this->getSourceContext()->getCode(); } public function getSourceContext() { return new Source("{# /* * Spring Signage Ltd - http://www.springsignage.com * Copyright (C) 2015 Spring Signage Ltd * (\${FILE_NAME}) */ #} {% extends \"form-base.twig\" %} {% import \"forms.twig\" as forms %} {% block formTitle %} {% trans \"Delete Display Group\" %} {% endblock %} {% block formButtons %} {% trans \"Help\" %}, XiboHelpRender(\"{{ help }}\") {% trans \"Cancel\" %}, XiboDialogClose() {% trans \"Yes\" %}, \$(\"#displayGroupDeleteForm\").submit() {% endblock %} {% block formHtml %} <div class=\"row\"> <div class=\"col-md-12\"> <form id=\"displayGroupDeleteForm\" class=\"XiboForm form-horizontal\" method=\"delete\" action=\"{{ urlFor(\"displayGroup.delete\", {\"id\": displayGroup.displayGroupId}) }}\"> {% set message %}{% trans \"Are you sure you want to delete this display group? This cannot be undone\" %}{% endset %} {{ forms.message(message) }} </form> </div> </div> {% endblock %}", "displaygroup-form-delete.twig", "/home/mgatv524/public_html/midiatech/views/displaygroup-form-delete.twig"); } }