/
home
/
obinna
/
html
/
boaz2
/
var
/
cache
/
dev
/
twig
/
df
/
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; /* loading/edit.html.twig */ class __TwigTemplate_7716b1c49aff6b0fdba3e65add5f15e3955b71c8210d4dfe62e470afec4efad0 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'sidemenu' => [$this, 'block_sidemenu'], 'content' => [$this, 'block_content'], ]; } protected function doGetParent(array $context) { // line 1 return "base2.html.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"]; $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "loading/edit.html.twig")); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "loading/edit.html.twig")); $this->parent = $this->loadTemplate("base2.html.twig", "loading/edit.html.twig", 1); $this->parent->display($context, array_merge($this->blocks, $blocks)); $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } // line 3 public function block_sidemenu($context, array $blocks = []) { $macros = $this->macros; $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"]; $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sidemenu")); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sidemenu")); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); } // line 8 public function block_content($context, array $blocks = []) { $macros = $this->macros; $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"]; $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content")); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content")); // line 9 echo " <div class=\"content\"> <div class=\"container-fluid\"> <div class=\"row\"> <div class=\"col-md-12\"> <div class=\"card\"> <div class=\"header\"> <h4 class=\"title\">Cargo Add-on</h4> </div> <div class=\"content\"> <form action=\""; // line 18 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("editLoad", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["load"]) || array_key_exists("load", $context) ? $context["load"] : (function () { throw new RuntimeError('Variable "load" does not exist.', 18, $this->source); })()), "id", [], "any", false, false, false, 18)]), "html", null, true); echo "\" method=\"post\"> <input type=\"hidden\" name=\"id\" value=\""; // line 19 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["load"]) || array_key_exists("load", $context) ? $context["load"] : (function () { throw new RuntimeError('Variable "load" does not exist.', 19, $this->source); })()), "id", [], "any", false, false, false, 19), "html", null, true); echo "\" /> <div class=\"forms\"> <div class=\"form-group\"> <label for=\"truck\"><h4>Truck:</h4></label> <input class=\"form-control\" type=\"text\" id=\"truck\" name=\"truck\" value=\""; // line 24 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["load"]) || array_key_exists("load", $context) ? $context["load"] : (function () { throw new RuntimeError('Variable "load" does not exist.', 24, $this->source); })()), "truck", [], "any", false, false, false, 24), "html", null, true); echo "\" /> </div> <div class=\"form-group\"> <label for=\"quantity\"><h4>Quantity:</h4></label> <input class=\"form-control\" type=\"text\" id=\"quantity\" name=\"quantity\" value=\""; // line 28 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["load"]) || array_key_exists("load", $context) ? $context["load"] : (function () { throw new RuntimeError('Variable "load" does not exist.', 28, $this->source); })()), "quantity", [], "any", false, false, false, 28), "html", null, true); echo "\" /> </div> <div class=\"form-group\"> <label for=\"waybill\"><h4>Waybill:</h4></label> <input class=\"form-control\" type=\"text\" id=\"waybill\" name=\"waybill\" value=\""; // line 32 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["load"]) || array_key_exists("load", $context) ? $context["load"] : (function () { throw new RuntimeError('Variable "load" does not exist.', 32, $this->source); })()), "waybill", [], "any", false, false, false, 32), "html", null, true); echo "\" /> </div> <div class=\"form-group\"> <label for=\"datepicker\"><h4>Date:</h4></label> <input class=\"form-control\" type=\"text\" id=\"datepicker\" name=\"date\" value=\""; // line 36 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["load"]) || array_key_exists("load", $context) ? $context["load"] : (function () { throw new RuntimeError('Variable "load" does not exist.', 36, $this->source); })()), "date", [], "any", false, false, false, 36), "html", null, true); echo "\" /> </div> <div class=\"form-group\"> <label for=\"details\"><h4>Details:</h4></label> <input class=\"form-control\" type=\"text\" id=\"details\" name=\"details\" value=\""; // line 40 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["load"]) || array_key_exists("load", $context) ? $context["load"] : (function () { throw new RuntimeError('Variable "load" does not exist.', 40, $this->source); })()), "details", [], "any", false, false, false, 40), "html", null, true); echo "\" /> </div> <button type=\"submit\" name=\"submit\" class=\"btn btn-default\">Save</button> </div> </form> </div> </div> </div> </div> </div> </div> "; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof); } public function getTemplateName() { return "loading/edit.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 138 => 40, 131 => 36, 124 => 32, 117 => 28, 110 => 24, 102 => 19, 98 => 18, 87 => 9, 77 => 8, 59 => 3, 36 => 1,); } public function getSourceContext() { return new Source("{% extends 'base2.html.twig' %} {% block sidemenu %} {% endblock %} {% block content %} <div class=\"content\"> <div class=\"container-fluid\"> <div class=\"row\"> <div class=\"col-md-12\"> <div class=\"card\"> <div class=\"header\"> <h4 class=\"title\">Cargo Add-on</h4> </div> <div class=\"content\"> <form action=\"{{ path('editLoad', {'id': load.id}) }}\" method=\"post\"> <input type=\"hidden\" name=\"id\" value=\"{{ load.id }}\" /> <div class=\"forms\"> <div class=\"form-group\"> <label for=\"truck\"><h4>Truck:</h4></label> <input class=\"form-control\" type=\"text\" id=\"truck\" name=\"truck\" value=\"{{ load.truck }}\" /> </div> <div class=\"form-group\"> <label for=\"quantity\"><h4>Quantity:</h4></label> <input class=\"form-control\" type=\"text\" id=\"quantity\" name=\"quantity\" value=\"{{ load.quantity }}\" /> </div> <div class=\"form-group\"> <label for=\"waybill\"><h4>Waybill:</h4></label> <input class=\"form-control\" type=\"text\" id=\"waybill\" name=\"waybill\" value=\"{{ load.waybill }}\" /> </div> <div class=\"form-group\"> <label for=\"datepicker\"><h4>Date:</h4></label> <input class=\"form-control\" type=\"text\" id=\"datepicker\" name=\"date\" value=\"{{ load.date }}\" /> </div> <div class=\"form-group\"> <label for=\"details\"><h4>Details:</h4></label> <input class=\"form-control\" type=\"text\" id=\"details\" name=\"details\" value=\"{{ load.details }}\" /> </div> <button type=\"submit\" name=\"submit\" class=\"btn btn-default\">Save</button> </div> </form> </div> </div> </div> </div> </div> </div> {% endblock %}", "loading/edit.html.twig", "/var/www/html/boaz2/templates/loading/edit.html.twig"); } }