0byt3m1n1
Path:
/
home
/
mgatv524
/
vendashop.mgaplay.com.br
/
cache
/
3b
/
[
Home
]
File: 3b357423170f02908f0a72ef2ebc91ef65c388a7fe2a1491ba60f233596a4882.php
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; 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; /* dataset-form-delete.twig */ class __TwigTemplate_cae8aa16499330eb6335e8d99a31ed70164da45e4d074b8b18cf26700195d7dd extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'formTitle' => [$this, 'block_formTitle'], 'formButtons' => [$this, 'block_formButtons'], 'formHtml' => [$this, 'block_formHtml'], ]; } protected function doGetParent(array $context) { // line 24 return "form-base.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 25 $macros["forms"] = $this->macros["forms"] = $this->loadTemplate("forms.twig", "dataset-form-delete.twig", 25)->unwrap(); // line 24 $this->parent = $this->loadTemplate("form-base.twig", "dataset-form-delete.twig", 24); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 27 public function block_formTitle($context, array $blocks = []) { $macros = $this->macros; // line 28 echo " "; echo __("Delete this DataSet?"); } // line 31 public function block_formButtons($context, array $blocks = []) { $macros = $this->macros; // line 32 echo " "; echo __("Help"); echo ", XiboHelpRender(\""; echo twig_escape_filter($this->env, ($context["help"] ?? null), "html", null, true); echo "\") "; // line 33 echo __("Cancel"); echo ", XiboDialogClose() "; // line 34 echo __("Yes"); echo ", \$(\"#dataSetDeleteForm\").submit() "; } // line 37 public function block_formHtml($context, array $blocks = []) { $macros = $this->macros; // line 38 echo " <div class=\"row\"> <div class=\"col-md-12\"> <form id=\"dataSetDeleteForm\" class=\"XiboForm form-horizontal\" method=\"delete\" action=\""; // line 40 echo twig_escape_filter($this->env, $this->env->getRuntime('Slim\Views\TwigRuntimeExtension')->urlFor("dataSet.delete", ["id" => twig_get_attribute($this->env, $this->source, ($context["dataSet"] ?? null), "dataSetId", [], "any", false, false, false, 40)]), "html", null, true); echo "\"> "; // line 41 ob_start(function () { return ''; }); echo __("Are you sure you want to delete?"); $context["message"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 42 echo " "; echo twig_call_macro($macros["forms"], "macro_message", [($context["message"] ?? null)], 42, $context, $this->getSourceContext()); echo " "; // line 44 ob_start(function () { return ''; }); echo __("Delete any associated data?"); $context["title"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 45 echo " "; ob_start(function () { return ''; }); echo __("Please tick the box if you would like to delete all the Data contained in this DataSet"); $context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 46 echo " "; echo twig_call_macro($macros["forms"], "macro_checkbox", ["deleteData", ($context["title"] ?? null), "", ($context["helpText"] ?? null)], 46, $context, $this->getSourceContext()); echo " </form> </div> </div> "; } public function getTemplateName() { return "dataset-form-delete.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 112 => 46, 107 => 45, 103 => 44, 97 => 42, 93 => 41, 89 => 40, 85 => 38, 81 => 37, 75 => 34, 71 => 33, 64 => 32, 60 => 31, 55 => 28, 51 => 27, 46 => 24, 44 => 25, 37 => 24,); } public function getSourceContext() { return new Source("", "dataset-form-delete.twig", "/home/mgatv524/vendashop.mgaplay.com.br/views/dataset-form-delete.twig"); } }