File: /home/cafsindia/help.cafsindia.com/var/cache/dev/twig/3c/3cb5e5063064f2d182227aac037cd2b8.php
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;
/* @WebProfiler/Profiler/search.html.twig */
class __TwigTemplate_a39b5829f5a56882932505fbc53ee9ec extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Profiler/search.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Profiler/search.html.twig"));
// line 1
yield "<div id=\"sidebar-search\" class=\"hidden\">
<form action=\"";
// line 2
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler_search");
yield "\" method=\"get\">
<div class=\"form-group\">
<label for=\"ip\">IP</label>
<input type=\"text\" name=\"ip\" id=\"ip\" value=\"";
// line 5
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["ip"]) || array_key_exists("ip", $context) ? $context["ip"] : (function () { throw new RuntimeError('Variable "ip" does not exist.', 5, $this->source); })()), "html", null, true);
yield "\">
</div>
<div class=\"form-group\">
<label for=\"method\">Method</label>
<select name=\"method\" id=\"method\">
<option value=\"\">Any</option>
";
// line 12
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(["DELETE", "GET", "HEAD", "PATCH", "POST", "PUT"]);
foreach ($context['_seq'] as $context["_key"] => $context["m"]) {
// line 13
yield " <option ";
yield ((($context["m"] == (isset($context["method"]) || array_key_exists("method", $context) ? $context["method"] : (function () { throw new RuntimeError('Variable "method" does not exist.', 13, $this->source); })()))) ? ("selected=\"selected\"") : (""));
yield ">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["m"], "html", null, true);
yield "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['m'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 15
yield " </select>
</div>
<div class=\"form-group\">
<label for=\"status_code\">Status</label>
<input type=\"number\" name=\"status_code\" id=\"status_code\" min=\"100\" max=\"599\" value=\"";
// line 20
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["status_code"]) || array_key_exists("status_code", $context) ? $context["status_code"] : (function () { throw new RuntimeError('Variable "status_code" does not exist.', 20, $this->source); })()), "html", null, true);
yield "\">
</div>
<div class=\"form-group\">
<label for=\"url\">URL</label>
<input type=\"text\" name=\"url\" id=\"url\" value=\"";
// line 25
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["url"]) || array_key_exists("url", $context) ? $context["url"] : (function () { throw new RuntimeError('Variable "url" does not exist.', 25, $this->source); })()), "html", null, true);
yield "\">
</div>
<div class=\"form-group\">
<label for=\"token\">Token</label>
<input type=\"text\" name=\"token\" id=\"token\" value=\"";
// line 30
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["token"]) || array_key_exists("token", $context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.', 30, $this->source); })()), "html", null, true);
yield "\">
</div>
<div class=\"form-group\">
<label for=\"start\">From</label>
<input type=\"date\" name=\"start\" id=\"start\" value=\"";
// line 35
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["start"]) || array_key_exists("start", $context) ? $context["start"] : (function () { throw new RuntimeError('Variable "start" does not exist.', 35, $this->source); })()), "html", null, true);
yield "\">
</div>
<div class=\"form-group\">
<label for=\"end\">Until</label>
<input type=\"date\" name=\"end\" id=\"end\" value=\"";
// line 40
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["end"]) || array_key_exists("end", $context) ? $context["end"] : (function () { throw new RuntimeError('Variable "end" does not exist.', 40, $this->source); })()), "html", null, true);
yield "\">
</div>
<div class=\"form-group\">
<label for=\"limit\">Results</label>
<select name=\"limit\" id=\"limit\">
";
// line 46
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable([10, 50, 100]);
foreach ($context['_seq'] as $context["_key"] => $context["l"]) {
// line 47
yield " <option ";
yield ((($context["l"] == (isset($context["limit"]) || array_key_exists("limit", $context) ? $context["limit"] : (function () { throw new RuntimeError('Variable "limit" does not exist.', 47, $this->source); })()))) ? ("selected=\"selected\"") : (""));
yield ">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["l"], "html", null, true);
yield "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['l'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 49
yield " </select>
</div>
<div class=\"form-group\">
<button type=\"submit\" class=\"btn btn-sm\">Search</button>
</div>
</form>
</div>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "@WebProfiler/Profiler/search.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 145 => 49, 134 => 47, 130 => 46, 121 => 40, 113 => 35, 105 => 30, 97 => 25, 89 => 20, 82 => 15, 71 => 13, 67 => 12, 57 => 5, 51 => 2, 48 => 1,);
}
public function getSourceContext(): Source
{
return new Source("<div id=\"sidebar-search\" class=\"hidden\">
<form action=\"{{ path('_profiler_search') }}\" method=\"get\">
<div class=\"form-group\">
<label for=\"ip\">IP</label>
<input type=\"text\" name=\"ip\" id=\"ip\" value=\"{{ ip }}\">
</div>
<div class=\"form-group\">
<label for=\"method\">Method</label>
<select name=\"method\" id=\"method\">
<option value=\"\">Any</option>
{% for m in ['DELETE', 'GET', 'HEAD', 'PATCH', 'POST', 'PUT'] %}
<option {{ m == method ? 'selected=\"selected\"' }}>{{ m }}</option>
{% endfor %}
</select>
</div>
<div class=\"form-group\">
<label for=\"status_code\">Status</label>
<input type=\"number\" name=\"status_code\" id=\"status_code\" min=\"100\" max=\"599\" value=\"{{ status_code }}\">
</div>
<div class=\"form-group\">
<label for=\"url\">URL</label>
<input type=\"text\" name=\"url\" id=\"url\" value=\"{{ url }}\">
</div>
<div class=\"form-group\">
<label for=\"token\">Token</label>
<input type=\"text\" name=\"token\" id=\"token\" value=\"{{ token }}\">
</div>
<div class=\"form-group\">
<label for=\"start\">From</label>
<input type=\"date\" name=\"start\" id=\"start\" value=\"{{ start }}\">
</div>
<div class=\"form-group\">
<label for=\"end\">Until</label>
<input type=\"date\" name=\"end\" id=\"end\" value=\"{{ end }}\">
</div>
<div class=\"form-group\">
<label for=\"limit\">Results</label>
<select name=\"limit\" id=\"limit\">
{% for l in [10, 50, 100] %}
<option {{ l == limit ? 'selected=\"selected\"' }}>{{ l }}</option>
{% endfor %}
</select>
</div>
<div class=\"form-group\">
<button type=\"submit\" class=\"btn btn-sm\">Search</button>
</div>
</form>
</div>
", "@WebProfiler/Profiler/search.html.twig", "/home/cafsindia/help.cafsindia.com/vendor/symfony/web-profiler-bundle/Resources/views/Profiler/search.html.twig");
}
}