var/cache/dev/twig/9f/9f3da93ac7aeeedd14a7c3a39fc8862d.php line 53

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* Security/login.html.twig */
  14. class __TwigTemplate_3191951e7c9901781ab19a1d693c09e9 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'title' => [$this'block_title'],
  24.             'body' => [$this'block_body'],
  25.             'javascripts' => [$this'block_javascripts'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "Layouts/login.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  37.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Security/login.html.twig"));
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Security/login.html.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Security/login.html.twig"));
  42.         $this->parent $this->loadTemplate("Layouts/login.html.twig""Security/login.html.twig"1);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  46.         
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 3
  52.     public function block_title($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  56.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  61.         // line 4
  62.         echo "    ";
  63.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.global.user.login.title"), "html"nulltrue);
  64.         echo "
  65. ";
  66.         
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  68.         
  69.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  70.         
  71.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  72.     }
  73.     // line 7
  74.     public function block_body($context, array $blocks = [])
  75.     {
  76.         $macros $this->macros;
  77.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  78.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  80.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  83.         // line 8
  84.         echo "    ";
  85.         echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'8$this->source); })()), 'form_start', ["attr" => ["class" => "kt-fx-form mx-auto w-100 py-10 fv-plugins-bootstrap5 fv-plugins-framework""id" => "kt_login_form""novalidate" => "novalidate"]]);
  86.         // line 14
  87.         echo "
  88.         
  89.         <div class=\"text-center mb-11\">
  90.             <a href=\"";
  91.         // line 17
  92.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("foxorders_dashboard");
  93.         echo "\">
  94.                 <img alt=\"Logo\" src=\"";
  95.         // line 18
  96.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("foxorders/media/logos/popina-order-icon.png"), "html"nulltrue);
  97.         echo "\" class=\"h-100px\"/>
  98.             </a>
  99.             <h1 class=\"text-dark fw-bolder mb-3\" style=\"padding-top: 30px !important;\">
  100.                 ";
  101.         // line 21
  102.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.global.user.login.form.title"), "html"nulltrue);
  103.         echo "
  104.             </h1>
  105.             <div class=\"text-gray-500 fw-semibold fs-6\">
  106.                 ";
  107.         // line 24
  108.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.global.user.login.form.legend"), "html"nulltrue);
  109.         echo "
  110.             </div>
  111.         </div>
  112.         <div class=\"row g-3 mb-9\">
  113.             <div class=\"col-md-12\">
  114.                 ";
  115.         // line 30
  116.         $context["flashes"] = twig_array_merge(twig_array_merge(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.'30$this->source); })()), "flashes", [=> "verify_email_error"], "method"falsefalsefalse30), 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.'30$this->source); })()), "flashes", [=> "account_locked"], "method"falsefalsefalse30)), 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.'30$this->source); })()), "flashes", [=> "danger"], "method"falsefalsefalse30));
  117.         // line 31
  118.         echo "                ";
  119.         $context['_parent'] = $context;
  120.         $context['_seq'] = twig_ensure_traversable((isset($context["flashes"]) || array_key_exists("flashes"$context) ? $context["flashes"] : (function () { throw new RuntimeError('Variable "flashes" does not exist.'31$this->source); })()));
  121.         foreach ($context['_seq'] as $context["_key"] => $context["flash"]) {
  122.             // line 32
  123.             echo "                    <div class=\"alert alert-danger text-center\">";
  124.             echo twig_escape_filter($this->env$context["flash"], "html"nulltrue);
  125.             echo "</div>
  126.                 ";
  127.         }
  128.         $_parent $context['_parent'];
  129.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flash'], $context['_parent'], $context['loop']);
  130.         $context array_intersect_key($context$_parent) + $_parent;
  131.         // line 34
  132.         echo "            </div>
  133.             <div class=\"col-md-12\">
  134.                 <a href=\"";
  135.         // line 37
  136.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("foxorders_security_connect_google");
  137.         echo "\" class=\"btn btn-flex btn-outline btn-text-gray-700 btn-active-color-primary bg-state-light flex-center text-nowrap w-100\">
  138.                     <img alt=\"Logo\" src=\"";
  139.         // line 38
  140.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("metronic/v8.1.5/media/svg/brand-logos/google-icon.svg"), "html"nulltrue);
  141.         echo "\" class=\"h-15px me-3\"/>
  142.                     ";
  143.         // line 39
  144.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.global.user.login.buttons.google"), "html"nulltrue);
  145.         echo "
  146.                 </a>
  147.             </div>
  148.         </div>
  149.         <div class=\"separator separator-content my-14\">
  150.             <span class=\"w-125px text-gray-500 fw-semibold fs-7\">";
  151.         // line 45
  152.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.global.user.login.buttons.email"), "html"nulltrue);
  153.         echo "</span>
  154.         </div>
  155.         <div class=\"fv-row mb-8\">
  156.             ";
  157.         // line 49
  158.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'49$this->source); })()), "username", [], "any"falsefalsefalse49), 'row');
  159.         echo "
  160.         </div>
  161.         <div class=\"fv-row mb-3 position-relative\">
  162.             ";
  163.         // line 53
  164.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'53$this->source); })()), "password", [], "any"falsefalsefalse53), 'widget');
  165.         echo "
  166.             <span class=\"position-absolute top-50 end-0 translate-middle-y me-10 cursor-pointer toggle-password-visibility\">
  167.                 <i class=\"fas fa-eye text-muted password-icon\"></i>
  168.             </span>
  169.             ";
  170.         // line 59
  171.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'59$this->source); })()), "password", [], "any"falsefalsefalse59), 'errors');
  172.         echo "
  173.         </div>
  174.         ";
  175.         // line 62
  176.         if ((isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'62$this->source); })())) {
  177.             // line 63
  178.             echo "            <div class=\"alert alert-danger text-center\">
  179.                 ";
  180.             // line 64
  181.             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.'64$this->source); })()), "messageKey", [], "any"falsefalsefalse64), 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.'64$this->source); })()), "messageData", [], "any"falsefalsefalse64), "security"), "html"nulltrue);
  182.             echo "
  183.             </div>
  184.         ";
  185.         }
  186.         // line 67
  187.         echo "
  188.         <div class=\"d-flex flex-stack flex-wrap gap-3 fs-base fw-semibold mb-8\">
  189.             <div></div>
  190.             <a href=\"";
  191.         // line 70
  192.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("foxorders_security_reset_password_request");
  193.         echo "\" class=\"link-primary\">
  194.                 ";
  195.         // line 71
  196.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.global.user.password.forgot_password"), "html"nulltrue);
  197.         echo "
  198.             </a>
  199.         </div>
  200.         <div class=\"d-grid mb-10\">
  201.             ";
  202.         // line 76
  203.         $this->loadTemplate("Includes/Form/submit.html.twig""Security/login.html.twig"76)->display(twig_array_merge($context, ["text" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.global.user.login.buttons.login"), "icon" => "sign-in"]));
  204.         // line 80
  205.         echo "        </div>
  206.         <div class=\"text-center\">
  207.             <div class=\"text-gray-500 fw-semibold fs-6\">
  208.                 Server: <b>";
  209.         // line 84
  210.         echo twig_escape_filter($this->env, (isset($context["foxorders_server"]) || array_key_exists("foxorders_server"$context) ? $context["foxorders_server"] : (function () { throw new RuntimeError('Variable "foxorders_server" does not exist.'84$this->source); })()), "html"nulltrue);
  211.         echo "</b> | Env: <b>";
  212.         echo twig_escape_filter($this->env, (isset($context["foxorders_env"]) || array_key_exists("foxorders_env"$context) ? $context["foxorders_env"] : (function () { throw new RuntimeError('Variable "foxorders_env" does not exist.'84$this->source); })()), "html"nulltrue);
  213.         echo "</b> | Version: <b>";
  214.         echo twig_escape_filter($this->env, (isset($context["foxorders_version"]) || array_key_exists("foxorders_version"$context) ? $context["foxorders_version"] : (function () { throw new RuntimeError('Variable "foxorders_version" does not exist.'84$this->source); })()), "html"nulltrue);
  215.         echo "</b>
  216.             </div>
  217.         </div>
  218.     ";
  219.         // line 88
  220.         echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'88$this->source); })()), 'form_end');
  221.         echo "
  222. ";
  223.         
  224.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  225.         
  226.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  227.         
  228.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  229.     }
  230.     // line 91
  231.     public function block_javascripts($context, array $blocks = [])
  232.     {
  233.         $macros $this->macros;
  234.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  235.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  236.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  237.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  238.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  239.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  240.         // line 92
  241.         echo "    <script>
  242.         var translations = {
  243.             'empty': '";
  244.         // line 94
  245.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.global.validation.required"), "html"nulltrue);
  246.         echo "',
  247.             'valid': '";
  248.         // line 95
  249.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.global.validation.user.email.invalid"), "html"nulltrue);
  250.         echo "',
  251.         }
  252.     </script>
  253.     <script src=\"";
  254.         // line 98
  255.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("foxorders/js/password.js"), "html"nulltrue);
  256.         echo "\"></script>
  257.     <script src=\"";
  258.         // line 99
  259.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("foxorders/js/validation/rules/security/login.js"), "html"nulltrue);
  260.         echo "\"></script>
  261.     ";
  262.         // line 100
  263.         $this->displayParentBlock("javascripts"$context$blocks);
  264.         echo "
  265. ";
  266.         
  267.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  268.         
  269.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  270.         
  271.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  272.     }
  273.     public function getTemplateName()
  274.     {
  275.         return "Security/login.html.twig";
  276.     }
  277.     public function isTraitable()
  278.     {
  279.         return false;
  280.     }
  281.     public function getDebugInfo()
  282.     {
  283.         return array (  305 => 100,  301 => 99,  297 => 98,  291 => 95,  287 => 94,  283 => 92,  270 => 91,  255 => 88,  244 => 84,  238 => 80,  236 => 76,  228 => 71,  224 => 70,  219 => 67,  213 => 64,  210 => 63,  208 => 62,  202 => 59,  193 => 53,  186 => 49,  179 => 45,  170 => 39,  166 => 38,  162 => 37,  157 => 34,  148 => 32,  143 => 31,  141 => 30,  132 => 24,  126 => 21,  120 => 18,  116 => 17,  111 => 14,  108 => 8,  95 => 7,  79 => 4,  66 => 3,  37 => 1,);
  284.     }
  285.     public function getSourceContext()
  286.     {
  287.         return new Source("{% extends 'Layouts/login.html.twig' %}
  288. {% block title %}
  289.     {{ 'app.global.user.login.title'|trans }}
  290. {% endblock %}
  291. {% block body %}
  292.     {{ form_start(form, {
  293.         'attr': {
  294.             'class': 'kt-fx-form mx-auto w-100 py-10 fv-plugins-bootstrap5 fv-plugins-framework',
  295.             'id': 'kt_login_form',
  296.             'novalidate': 'novalidate'
  297.         }
  298.     }) }}
  299.         
  300.         <div class=\"text-center mb-11\">
  301.             <a href=\"{{ path('foxorders_dashboard') }}\">
  302.                 <img alt=\"Logo\" src=\"{{ asset('foxorders/media/logos/popina-order-icon.png') }}\" class=\"h-100px\"/>
  303.             </a>
  304.             <h1 class=\"text-dark fw-bolder mb-3\" style=\"padding-top: 30px !important;\">
  305.                 {{ 'app.global.user.login.form.title'|trans }}
  306.             </h1>
  307.             <div class=\"text-gray-500 fw-semibold fs-6\">
  308.                 {{ 'app.global.user.login.form.legend'|trans }}
  309.             </div>
  310.         </div>
  311.         <div class=\"row g-3 mb-9\">
  312.             <div class=\"col-md-12\">
  313.                 {% set flashes = app.flashes('verify_email_error')|merge(app.flashes('account_locked'))|merge(app.flashes('danger')) %}
  314.                 {% for flash in flashes %}
  315.                     <div class=\"alert alert-danger text-center\">{{ flash }}</div>
  316.                 {% endfor %}
  317.             </div>
  318.             <div class=\"col-md-12\">
  319.                 <a href=\"{{ path('foxorders_security_connect_google') }}\" class=\"btn btn-flex btn-outline btn-text-gray-700 btn-active-color-primary bg-state-light flex-center text-nowrap w-100\">
  320.                     <img alt=\"Logo\" src=\"{{ asset('metronic/v8.1.5/media/svg/brand-logos/google-icon.svg') }}\" class=\"h-15px me-3\"/>
  321.                     {{ 'app.global.user.login.buttons.google'|trans }}
  322.                 </a>
  323.             </div>
  324.         </div>
  325.         <div class=\"separator separator-content my-14\">
  326.             <span class=\"w-125px text-gray-500 fw-semibold fs-7\">{{ 'app.global.user.login.buttons.email'|trans }}</span>
  327.         </div>
  328.         <div class=\"fv-row mb-8\">
  329.             {{ form_row(form.username) }}
  330.         </div>
  331.         <div class=\"fv-row mb-3 position-relative\">
  332.             {{ form_widget(form.password) }}
  333.             <span class=\"position-absolute top-50 end-0 translate-middle-y me-10 cursor-pointer toggle-password-visibility\">
  334.                 <i class=\"fas fa-eye text-muted password-icon\"></i>
  335.             </span>
  336.             {{ form_errors(form.password) }}
  337.         </div>
  338.         {% if error %}
  339.             <div class=\"alert alert-danger text-center\">
  340.                 {{ error.messageKey|trans(error.messageData, 'security') }}
  341.             </div>
  342.         {% endif %}
  343.         <div class=\"d-flex flex-stack flex-wrap gap-3 fs-base fw-semibold mb-8\">
  344.             <div></div>
  345.             <a href=\"{{ path('foxorders_security_reset_password_request') }}\" class=\"link-primary\">
  346.                 {{ 'app.global.user.password.forgot_password'|trans }}
  347.             </a>
  348.         </div>
  349.         <div class=\"d-grid mb-10\">
  350.             {% include 'Includes/Form/submit.html.twig' with { 
  351.                 'text' : 'app.global.user.login.buttons.login'|trans, 
  352.                 'icon' : 'sign-in' 
  353.             } %}
  354.         </div>
  355.         <div class=\"text-center\">
  356.             <div class=\"text-gray-500 fw-semibold fs-6\">
  357.                 Server: <b>{{ foxorders_server }}</b> | Env: <b>{{ foxorders_env }}</b> | Version: <b>{{ foxorders_version }}</b>
  358.             </div>
  359.         </div>
  360.     {{ form_end(form) }}
  361. {% endblock %}
  362. {% block javascripts %}
  363.     <script>
  364.         var translations = {
  365.             'empty': '{{ 'app.global.validation.required' | trans }}',
  366.             'valid': '{{ 'app.global.validation.user.email.invalid' | trans }}',
  367.         }
  368.     </script>
  369.     <script src=\"{{ asset('foxorders/js/password.js') }}\"></script>
  370.     <script src=\"{{ asset('foxorders/js/validation/rules/security/login.js') }}\"></script>
  371.     {{ parent() }}
  372. {% endblock %}
  373. ""Security/login.html.twig""/var/www/html/templates/Security/login.html.twig");
  374.     }
  375. }