<?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;
/* login.twig */
class __TwigTemplate_0080d6216b91720e83a5d32626a9e934c1272aef3a8107c10f0b6ce77218eae8 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'cssAssets' => [$this, 'block_cssAssets'],
'jsAssets' => [$this, 'block_jsAssets'],
'pageTitle' => [$this, 'block_pageTitle'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "template.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", "login.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "login.twig"));
$this->parent = $this->loadTemplate("template.twig", "login.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_cssAssets($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", "cssAssets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "cssAssets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 6
public function block_jsAssets($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", "jsAssets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "jsAssets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 9
public function block_pageTitle($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", "pageTitle"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "pageTitle"));
// line 10
echo " IRMS Login
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 13
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 14
echo " <form name=\"login\" action=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 14, $this->source); })()), "get", [0 => "fullPage"], "method", false, false, false, 14), "html", null, true);
echo "\" method=\"post\">
<table class='internal' style=\"width:50%; margin: 0 auto;\">
";
// line 16
if ((array_key_exists("client", $context) && !(null === (isset($context["client"]) || array_key_exists("client", $context) ? $context["client"] : (function () { throw new RuntimeError('Variable "client" does not exist.', 16, $this->source); })())))) {
// line 17
echo " <tr>
<td>Log in to: ";
// line 18
echo twig_escape_filter($this->env, (isset($context["client"]) || array_key_exists("client", $context) ? $context["client"] : (function () { throw new RuntimeError('Variable "client" does not exist.', 18, $this->source); })()), "html", null, true);
echo "</td>
</tr>
";
}
// line 21
echo " ";
if ((array_key_exists("redirectUrl", $context) && !(null === (isset($context["redirectUrl"]) || array_key_exists("redirectUrl", $context) ? $context["redirectUrl"] : (function () { throw new RuntimeError('Variable "redirectUrl" does not exist.', 21, $this->source); })())))) {
// line 22
echo " <input type=\"hidden\" name=\"redirectUrl\" id \"redirectUrl\" value=\"";
echo twig_escape_filter($this->env, (isset($context["redirectUrl"]) || array_key_exists("redirectUrl", $context) ? $context["redirectUrl"] : (function () { throw new RuntimeError('Variable "redirectUrl" does not exist.', 22, $this->source); })()), "html", null, true);
echo "\">
";
}
// line 24
echo " <tr>
<td><label for=\"handle\">Handle:</label></td>
<td><input type=\"text\" name=\"handle\" id=\"handle\"></td>
</tr>
<tr>
<td><label for=\"pass\">Password:</label></td>
<td><input type=\"password\" name=\"pass\" id=\"pass\"></td>
</tr>
<tr>
<td><label for=\"rememberMe\">Remember Me?</label></td>
<td><input type=\"checkbox\" name=\"rememberMe\" id=\"rememberMe\" value=1></td>
</tr>
<tr>
<td style='text-align:center' colspan=2><input type=\"submit\" name=\"login\" value=\"Login\"></td>
</tr>
<tr>
<td style='text-align:center' colspan=2><a href='";
// line 40
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("lostpass");
echo "'>Reset Password</a></td>
</tr>
</table>
<input type=\"hidden\" name=\"page\" value=\"";
// line 43
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 43, $this->source); })()), "get", [0 => "fullPage"], "method", false, false, false, 43), "html", null, true);
echo "\">
</form>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "login.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 178 => 43, 172 => 40, 154 => 24, 148 => 22, 145 => 21, 139 => 18, 136 => 17, 134 => 16, 128 => 14, 118 => 13, 107 => 10, 97 => 9, 79 => 6, 61 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'template.twig' %}
{% block cssAssets %}
{% endblock %}
{% block jsAssets %}
{% endblock %}
{% block pageTitle %}
IRMS Login
{% endblock %}
{% block content %}
<form name=\"login\" action=\"{{ app.get('fullPage') }}\" method=\"post\">
<table class='internal' style=\"width:50%; margin: 0 auto;\">
{% if client is defined and client is not null %}
<tr>
<td>Log in to: {{ client }}</td>
</tr>
{% endif %}
{% if redirectUrl is defined and redirectUrl is not null %}
<input type=\"hidden\" name=\"redirectUrl\" id \"redirectUrl\" value=\"{{redirectUrl}}\">
{% endif %}
<tr>
<td><label for=\"handle\">Handle:</label></td>
<td><input type=\"text\" name=\"handle\" id=\"handle\"></td>
</tr>
<tr>
<td><label for=\"pass\">Password:</label></td>
<td><input type=\"password\" name=\"pass\" id=\"pass\"></td>
</tr>
<tr>
<td><label for=\"rememberMe\">Remember Me?</label></td>
<td><input type=\"checkbox\" name=\"rememberMe\" id=\"rememberMe\" value=1></td>
</tr>
<tr>
<td style='text-align:center' colspan=2><input type=\"submit\" name=\"login\" value=\"Login\"></td>
</tr>
<tr>
<td style='text-align:center' colspan=2><a href='{{ url('lostpass') }}'>Reset Password</a></td>
</tr>
</table>
<input type=\"hidden\" name=\"page\" value=\"{{ app.get('fullPage') }}\">
</form>
{% endblock %}", "login.twig", "/home/empire/public_html/dev/application/templates/login.twig");
}
}