/
var
/
www
/
html
/
restaurants
/
var
/
cache
/
prod
/
twig
/
db
/
Upload File
HOME
<?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; /* ajax/category.html.twig */ class __TwigTemplate_d3b4c8002b021875ece58460f5f7d1ab16fb8fe97985198ef623fa21ec6d1745 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'content' => [$this, 'block_content'], ]; } protected function doGetParent(array $context) { // line 1 return "empty.html.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; $this->parent = $this->loadTemplate("empty.html.twig", "ajax/category.html.twig", 1); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 3 public function block_content($context, array $blocks = []) { $macros = $this->macros; // line 4 echo "\t<form class=\"form-signin\" action=\""; echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("api_category", ["place_slug" => ($context["place"] ?? null)]), "html", null, true); echo "\" method=\"POST\"> \t\t<h1 class=\"h3 mb-3 font-weight-normal\">New Category</h1> \t\t<div class=\"form-group\"> \t\t\t<input type=\"text\" name=\"name\" class=\"form-control\" placeholder=\"Category Name\" required> \t\t</div> \t\t<input type=\"submit\" name=\"submit\" value=\"Save\" class=\"btn btn-success\"> \t"; // line 11 echo " </form> "; } public function getTemplateName() { return "ajax/category.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 60 => 11, 50 => 4, 46 => 3, 35 => 1,); } public function getSourceContext() { return new Source("", "ajax/category.html.twig", "/var/www/html/restaurants/templates/ajax/category.html.twig"); } }