var/cache/dev/twig/a6/a6f6a5f357c6bf4af1158b706d278629123ac3057ee147137dbc3fdd7cbeedc4.php line 40

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* auth/login.html.twig */
  15. class __TwigTemplate_04cbff52507ddb6eb1a408b2ba34148e77aa43118f1974c355637a11becd4383 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'stylesheets' => [$this'block_stylesheets'],
  25.             'content' => [$this'block_content'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 6
  31.         return "base.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""auth/login.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""auth/login.html.twig"));
  40.         // line 1
  41.         $context["body_classes"] = ["login"];
  42.         // line 2
  43.         $context["title"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("login.meta.title");
  44.         // line 3
  45.         $context["description"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("login.meta.description");
  46.         // line 4
  47.         $context["keywords"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("login.meta.keywords");
  48.         // line 6
  49.         $this->parent $this->loadTemplate("base.html.twig""auth/login.html.twig"6);
  50.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  51.         
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  53.         
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  55.     }
  56.     // line 8
  57.     public function block_stylesheets($context, array $blocks = [])
  58.     {
  59.         $macros $this->macros;
  60.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  61.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  62.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  63.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  64.         // line 9
  65.         yield "    ";
  66.         yield from $this->yieldParentBlock("stylesheets"$context$blocks);
  67.         yield "
  68.     ";
  69.         // line 10
  70.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("login");
  71.         yield "
  72. ";
  73.         
  74.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  75.         
  76.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  77.         return; yield '';
  78.     }
  79.     // line 13
  80.     public function block_content($context, array $blocks = [])
  81.     {
  82.         $macros $this->macros;
  83.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  84.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  85.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  86.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  87.         // line 14
  88.         yield "    <main>
  89.         <div class=\"container\">
  90.             <div class=\"login-container\">
  91.                 <div class=\"login-form-wrapper animate-on-scroll-bottom\">
  92.                     <div class=\"title\">
  93.                         <h3>";
  94.         // line 19
  95.         yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("login.title");
  96.         yield "</h3>
  97.                         <p>";
  98.         // line 20
  99.         yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("login.description");
  100.         yield "</p>
  101.                         <p class=\"login-disabled-message\">";
  102.         // line 21
  103.         yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("login.mobile_disabled");
  104.         yield "</p>
  105.                     </div>
  106.                     ";
  107.         // line 23
  108.         yield         $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.'23$this->source); })()), 'form_start');
  109.         yield "
  110.                         <div class=\"field-wrapper\">
  111.                             ";
  112.         // line 25
  113.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'25$this->source); })()), "username", [], "any"falsefalsefalse25), 'widget');
  114.         yield "
  115.                             ";
  116.         // line 26
  117.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'26$this->source); })()), "username", [], "any"falsefalsefalse26), 'errors');
  118.         yield "
  119.                         </div>
  120.                         <div class=\"field-wrapper\">
  121.                             ";
  122.         // line 29
  123.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'29$this->source); })()), "password", [], "any"falsefalsefalse29), 'widget');
  124.         yield "
  125.                             ";
  126.         // line 30
  127.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'30$this->source); })()), "password", [], "any"falsefalsefalse30), 'errors');
  128.         yield "
  129.                         </div>
  130.                         <div class=\"field-wrapper\">
  131.                             ";
  132.         // line 33
  133.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'33$this->source); })()), 'errors');
  134.         yield "
  135.                         </div>
  136.                         <div class=\"buttons-container\">
  137.                             ";
  138.         // line 36
  139.         yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'36$this->source); })()), "submit", [], "any"falsefalsefalse36), 'widget');
  140.         yield "
  141.                         </div>
  142.                     ";
  143.         // line 38
  144.         yield         $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.'38$this->source); })()), 'form_end');
  145.         yield "
  146.                 </div>
  147.             </div>
  148.         </div>
  149.     </main>
  150. ";
  151.         
  152.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  153.         
  154.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  155.         return; yield '';
  156.     }
  157.     /**
  158.      * @codeCoverageIgnore
  159.      */
  160.     public function getTemplateName()
  161.     {
  162.         return "auth/login.html.twig";
  163.     }
  164.     /**
  165.      * @codeCoverageIgnore
  166.      */
  167.     public function isTraitable()
  168.     {
  169.         return false;
  170.     }
  171.     /**
  172.      * @codeCoverageIgnore
  173.      */
  174.     public function getDebugInfo()
  175.     {
  176.         return array (  163 => 38,  158 => 36,  152 => 33,  146 => 30,  142 => 29,  136 => 26,  132 => 25,  127 => 23,  122 => 21,  118 => 20,  114 => 19,  107 => 14,  97 => 13,  84 => 10,  79 => 9,  69 => 8,  58 => 6,  56 => 4,  54 => 3,  52 => 2,  50 => 1,  37 => 6,);
  177.     }
  178.     public function getSourceContext()
  179.     {
  180.         return new Source("{% set body_classes = ['login'] %}
  181. {% set title = 'login.meta.title'|trans %}
  182. {% set description = 'login.meta.description'|trans %}
  183. {% set keywords = 'login.meta.keywords'|trans %}
  184. {% extends 'base.html.twig' %}
  185. {% block stylesheets %}
  186.     {{ parent() }}
  187.     {{ encore_entry_link_tags('login') }}
  188. {% endblock stylesheets %}
  189. {% block content %}
  190.     <main>
  191.         <div class=\"container\">
  192.             <div class=\"login-container\">
  193.                 <div class=\"login-form-wrapper animate-on-scroll-bottom\">
  194.                     <div class=\"title\">
  195.                         <h3>{{ 'login.title'|trans|raw }}</h3>
  196.                         <p>{{ 'login.description'|trans|raw }}</p>
  197.                         <p class=\"login-disabled-message\">{{ 'login.mobile_disabled'|trans|raw }}</p>
  198.                     </div>
  199.                     {{ form_start(form) }}
  200.                         <div class=\"field-wrapper\">
  201.                             {{ form_widget(form.username) }}
  202.                             {{ form_errors(form.username) }}
  203.                         </div>
  204.                         <div class=\"field-wrapper\">
  205.                             {{ form_widget(form.password) }}
  206.                             {{ form_errors(form.password) }}
  207.                         </div>
  208.                         <div class=\"field-wrapper\">
  209.                             {{ form_errors(form) }}
  210.                         </div>
  211.                         <div class=\"buttons-container\">
  212.                             {{ form_widget(form.submit) }}
  213.                         </div>
  214.                     {{ form_end(form) }}
  215.                 </div>
  216.             </div>
  217.         </div>
  218.     </main>
  219. {% endblock content %}""auth/login.html.twig""/var/www/brc_frontend/templates/auth/login.html.twig");
  220.     }
  221. }