/
home
/
obinna
/
html
/
amply
/
var
/
cache
/
prod
/
twig
/
f1
/
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/supplier.html.twig */ class __TwigTemplate_0b8a29b0bafc2afba346bff21a670e525138d33ed72c03842c6c26b49f9d8530 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/supplier.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 $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("api_supplier"); echo "\" method=\"POST\"> \t\t<h1 class=\"h3 mb-3 font-weight-normal\">New Supplier</h1> \t\t<div class=\"form-group\"> \t\t\t<input type=\"text\" name=\"name\" class=\"form-control\" placeholder=\"Name\" required> \t\t</div> \t\t<div class=\"form-group\"> \t\t\t<textarea name=\"address\" class=\"form-control\" placeholder=\"Address\" required></textarea> \t\t</div> \t\t<div class=\"form-group\"> \t\t\t<input type=\"text\" name=\"telephone\" class=\"form-control\" placeholder=\"Telephone\" required> \t\t</div> \t\t<div class=\"form-group\"> \t\t\t<input type=\"text\" name=\"email\" class=\"form-control\" placeholder=\"Email\" required> \t\t</div> \t\t<input type=\"submit\" value=\"Save\" class=\"btn btn-success\"> \t"; // line 20 echo " </form> "; } public function getTemplateName() { return "ajax/supplier.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 69 => 20, 50 => 4, 46 => 3, 35 => 1,); } public function getSourceContext() { return new Source("", "ajax/supplier.html.twig", "/var/www/html/amply/templates/ajax/supplier.html.twig"); } }