<?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;
/* @GlobunetUser/Security/login.html.twig */
class __TwigTemplate_2e17bbb6b5a5a78a12fd4ae75768eb09839c5e71bf272eb033a3fdf074e04901 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'container' => [$this, 'block_container'],
'footer_scripts' => [$this, 'block_footer_scripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.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", "@GlobunetUser/Security/login.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@GlobunetUser/Security/login.html.twig"));
// line 2
$context["__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a"] = (isset($context["admin_bundle_trans"]) || array_key_exists("admin_bundle_trans", $context) ? $context["admin_bundle_trans"] : (function () { throw new RuntimeError('Variable "admin_bundle_trans" does not exist.', 2, $this->source); })());
// line 1
$this->parent = $this->loadTemplate("base.html.twig", "@GlobunetUser/Security/login.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 4
public function block_container($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", "container"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "container"));
// line 5
echo "\t<div class=\"row\">
\t\t<div class=\"main-login col-xs-8 col-xs-offset-1 col-sm-6 col-sm-offset-2 col-md-3 col-md-offset-4\">
\t\t\t<!-- start: LOGIN BOX -->
\t\t\t<div class=\"box-login\">
\t\t\t\t<div class=\"row\">
\t\t\t\t\t<div class=\"logo col-xs-10\">
\t\t\t\t\t\t<img src=\"";
// line 11
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/knitink-logo.svg"), "html", null, true);
echo "\" alt=\"Knitink\"/>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<form role=\"form\" id=\"formRemember\" action=\"";
// line 14
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("globunet_user_security_check");
echo "\" method=\"post\">
";
// line 16
if ((isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 16, $this->source); })())) {
// line 17
echo " ";
// line 18
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, (isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 18, $this->source); })()), "messageKey", [], "any", false, false, false, 18), twig_get_attribute($this->env, $this->source, (isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 18, $this->source); })()), "messageData", [], "any", false, false, false, 18), "security"), "html", null, true);
echo "
";
}
// line 20
echo "
\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t<i class=\"fa fa-envelope-o\"></i><label for=\"_username\"> ";
// line 22
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("email", [], // line 2
(isset($context["__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a"]) || array_key_exists("__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a", $context) ? $context["__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a"] : (function () { throw new RuntimeError('Variable "__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a" does not exist.', 2, $this->source); })())), "html", null, true);
// line 22
echo "</label>
\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" name=\"_username\">
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t<i class=\"ti-lock\"></i><label for=\"_password\">";
// line 27
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("password", [], // line 2
(isset($context["__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a"]) || array_key_exists("__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a", $context) ? $context["__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a"] : (function () { throw new RuntimeError('Variable "__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a" does not exist.', 2, $this->source); })())), "html", null, true);
// line 27
echo "</label>
\t\t\t\t\t\t<input type=\"password\" class=\"form-control password\" name=\"_password\">
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"form-actions\">
\t\t\t\t\t\t<div class=\"checkbox clip-check check-primary\">
\t\t\t\t\t\t\t<input type=\"checkbox\" name=\"_remember_me\" id=\"remember\" value=\"1\" checked=\"checked\">
\t\t\t\t\t\t\t<label for=\"remember\">
\t\t\t\t\t\t\t\t";
// line 35
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("remember_me", [], // line 2
(isset($context["__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a"]) || array_key_exists("__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a", $context) ? $context["__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a"] : (function () { throw new RuntimeError('Variable "__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a" does not exist.', 2, $this->source); })())), "html", null, true);
// line 35
echo "
\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<span class=\"login-remember\">
\t\t\t\t\t\t\t<i class=\"ti-help-alt text-primary\"></i>
\t\t\t\t\t\t\t<a class=\"text-primary\" href=\"";
// line 41
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_user_resetting_request");
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("STR_RESSETING", [], // line 2
(isset($context["__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a"]) || array_key_exists("__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a", $context) ? $context["__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a"] : (function () { throw new RuntimeError('Variable "__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a" does not exist.', 2, $this->source); })())), "html", null, true);
// line 41
echo "</a>
\t\t\t\t\t\t</span>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"form-actions\">
\t\t\t\t\t\t<button type=\"submit\" class=\"btn btn-primary btn-block\" name=\"_submit\" data-loading-text=\"Accediendo...\" autocomplete=\"off\">
\t\t\t\t\t\t\t";
// line 46
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("STR_SUBMIT", [], // line 2
(isset($context["__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a"]) || array_key_exists("__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a", $context) ? $context["__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a"] : (function () { throw new RuntimeError('Variable "__internal_ca0c4889855f38c85764d8f1bad10c118b8cd0440f545bd301b64f398c79e37a" does not exist.', 2, $this->source); })())), "html", null, true);
// line 46
echo " ";
// line 47
echo "\t\t\t\t\t\t</button>
\t\t\t\t\t</div>
\t\t\t\t\t<input type=\"hidden\" id=\"timezone\" name=\"_timezone\" value=\"\">
\t\t\t\t</form>
\t\t\t\t";
// line 58
echo "
\t\t\t</div>
\t\t\t<!-- end: LOGIN BOX -->
\t\t</div>
\t</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 66
public function block_footer_scripts($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", "footer_scripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer_scripts"));
// line 67
echo "\t";
$this->displayParentBlock("footer_scripts", $context, $blocks);
echo "
\t<script>
\$(function(){
// Detectar el timezone para enviar
if(typeof jstz != \"undefined\") {
var tz = jstz.determine();
\$(\"#timezone\").val(tz.name());
}
});
\t</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "@GlobunetUser/Security/login.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 189 => 67, 179 => 66, 164 => 58, 156 => 47, 154 => 46, 152 => 2, 151 => 46, 144 => 41, 142 => 2, 139 => 41, 131 => 35, 129 => 2, 128 => 35, 118 => 27, 116 => 2, 115 => 27, 108 => 22, 106 => 2, 105 => 22, 101 => 20, 95 => 18, 93 => 17, 91 => 16, 86 => 14, 80 => 11, 72 => 5, 62 => 4, 51 => 1, 49 => 2, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% trans_default_domain admin_bundle_trans %}
{% block container %}
\t<div class=\"row\">
\t\t<div class=\"main-login col-xs-8 col-xs-offset-1 col-sm-6 col-sm-offset-2 col-md-3 col-md-offset-4\">
\t\t\t<!-- start: LOGIN BOX -->
\t\t\t<div class=\"box-login\">
\t\t\t\t<div class=\"row\">
\t\t\t\t\t<div class=\"logo col-xs-10\">
\t\t\t\t\t\t<img src=\"{{ asset('images/knitink-logo.svg')}}\" alt=\"Knitink\"/>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<form role=\"form\" id=\"formRemember\" action=\"{{ path(\"globunet_user_security_check\") }}\" method=\"post\">
{% if error %}
{#<div>{{ error|trans({}, 'FOSUserBundle') }}</div>#}
{{ error.messageKey|trans(error.messageData, 'security') }}
{% endif %}
\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t<i class=\"fa fa-envelope-o\"></i><label for=\"_username\"> {{ 'email' | trans }}</label>
\t\t\t\t\t\t<input type=\"text\" class=\"form-control\" name=\"_username\">
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"form-group\">
\t\t\t\t\t\t<i class=\"ti-lock\"></i><label for=\"_password\">{{ 'password' | trans }}</label>
\t\t\t\t\t\t<input type=\"password\" class=\"form-control password\" name=\"_password\">
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"form-actions\">
\t\t\t\t\t\t<div class=\"checkbox clip-check check-primary\">
\t\t\t\t\t\t\t<input type=\"checkbox\" name=\"_remember_me\" id=\"remember\" value=\"1\" checked=\"checked\">
\t\t\t\t\t\t\t<label for=\"remember\">
\t\t\t\t\t\t\t\t{{ 'remember_me' | trans }}
\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<span class=\"login-remember\">
\t\t\t\t\t\t\t<i class=\"ti-help-alt text-primary\"></i>
\t\t\t\t\t\t\t<a class=\"text-primary\" href=\"{{ path('fos_user_resetting_request') }}\">{{ 'STR_RESSETING' | trans }}</a>
\t\t\t\t\t\t</span>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"form-actions\">
\t\t\t\t\t\t<button type=\"submit\" class=\"btn btn-primary btn-block\" name=\"_submit\" data-loading-text=\"Accediendo...\" autocomplete=\"off\">
\t\t\t\t\t\t\t{{ 'STR_SUBMIT' | trans }} {#<i class=\"fa fa-arrow-circle-right\"></i>#}
\t\t\t\t\t\t</button>
\t\t\t\t\t</div>
\t\t\t\t\t<input type=\"hidden\" id=\"timezone\" name=\"_timezone\" value=\"\">
\t\t\t\t</form>
\t\t\t\t{#
\t\t\t\t<div class=\"copyright\">
\t\t\t\t\t© <span class=\"current-year\"></span><span class=\"text-bold text-uppercase\"> Knitink</span>. <span>All rights reserved</span>
\t\t\t\t</div>
\t\t\t\t#}
\t\t\t</div>
\t\t\t<!-- end: LOGIN BOX -->
\t\t</div>
\t</div>
{% endblock container %}
{% block footer_scripts %}
\t{{ parent() }}
\t<script>
\$(function(){
// Detectar el timezone para enviar
if(typeof jstz != \"undefined\") {
var tz = jstz.determine();
\$(\"#timezone\").val(tz.name());
}
});
\t</script>
{% endblock footer_scripts %}
", "@GlobunetUser/Security/login.html.twig", "/var/www/vhosts/knitink.com/dev.universe.knitink.com/templates/bundles/GlobunetUserBundle/Security/login.html.twig");
}
}