0byt3m1n1
Path:
/
home
/
mgatv524
/
public_html
/
fmd
/
cache
/
41
/
[
Home
]
File: 4103818ba6905e8c7428d261972f8e4c7c3479f39cc841a98f76a3f7d91c2161.php
<?php /* applications-form-delete.twig */ class __TwigTemplate_22ab9438c7a388bf3e49d4021ab852499737fa9651b66b2b4d6b7d617979f87a extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); // line 9 $this->parent = $this->loadTemplate("form-base.twig", "applications-form-delete.twig", 9); $this->blocks = array( 'formTitle' => array($this, 'block_formTitle'), 'formButtons' => array($this, 'block_formButtons'), 'formHtml' => array($this, 'block_formHtml'), ); } protected function doGetParent(array $context) { return "form-base.twig"; } protected function doDisplay(array $context, array $blocks = array()) { // line 10 $context["forms"] = $this->loadTemplate("forms.twig", "applications-form-delete.twig", 10); // line 9 $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 12 public function block_formTitle($context, array $blocks = array()) { // line 13 echo " "; echo __("Delete Application"); } // line 16 public function block_formButtons($context, array $blocks = array()) { // line 17 echo " "; echo __("Help"); echo ", XiboHelpRender(\""; echo twig_escape_filter($this->env, ($context["help"] ?? null), "html", null, true); echo "\") "; // line 18 echo __("Cancel"); echo ", XiboDialogClose() "; // line 19 echo __("Yes"); echo ", \$(\"#applicationDeleteForm\").submit() "; } // line 22 public function block_formHtml($context, array $blocks = array()) { // line 23 echo " <div class=\"row\"> <div class=\"col-md-12\"> <form id=\"applicationDeleteForm\" class=\"XiboForm form-horizontal\" method=\"delete\" action=\""; // line 25 echo twig_escape_filter($this->env, $this->env->getExtension('Slim\Views\TwigExtension')->urlFor("application.delete", array("id" => $this->getAttribute(($context["client"] ?? null), "key", array()))), "html", null, true); echo "\"> "; // line 26 ob_start(); echo __("Are you sure you want to delete this application? This cannot be undone"); $context["message"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset()); // line 27 echo " "; echo $context["forms"]->getmessage(($context["message"] ?? null)); echo " </form> </div> </div> "; } public function getTemplateName() { return "applications-form-delete.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 76 => 27, 72 => 26, 68 => 25, 64 => 23, 61 => 22, 55 => 19, 51 => 18, 44 => 17, 41 => 16, 36 => 13, 33 => 12, 29 => 9, 27 => 10, 11 => 9,); } /** @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 Twig_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 Application\" %} {% endblock %} {% block formButtons %} {% trans \"Help\" %}, XiboHelpRender(\"{{ help }}\") {% trans \"Cancel\" %}, XiboDialogClose() {% trans \"Yes\" %}, \$(\"#applicationDeleteForm\").submit() {% endblock %} {% block formHtml %} <div class=\"row\"> <div class=\"col-md-12\"> <form id=\"applicationDeleteForm\" class=\"XiboForm form-horizontal\" method=\"delete\" action=\"{{ urlFor(\"application.delete\", {\"id\": client.key}) }}\"> {% set message %}{% trans \"Are you sure you want to delete this application? This cannot be undone\" %}{% endset %} {{ forms.message(message) }} </form> </div> </div> {% endblock %}", "applications-form-delete.twig", "/home2/mgatv524/public_html/fmd/views/applications-form-delete.twig"); } }