Deprecated : Constant E_STRICT is deprecated in /home/pastorz/old-espace-client/vendor/symfony/error-handler/ErrorHandler.php on line 58
Deprecated : Constant E_STRICT is deprecated in /home/pastorz/old-espace-client/vendor/symfony/error-handler/ErrorHandler.php on line 76
Symfony Profiler
<?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/index.html.twig */
class __TwigTemplate_2bf6684f40f398d9b687e13320f063be extends Template
{
private $source ;
private $macros = [];
public function __construct ( Environment $env )
{
parent :: __construct ( $env );
$this -> source = $this -> getSourceContext ();
$this -> blocks = [
'title' => [ $this , 'block_title' ],
'body' => [ $this , 'block_body' ],
];
}
protected function doGetParent (array $context )
{
// line 1
return "base.html.twig" ;
}
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" , "login/index.html.twig" ));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> enter ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "template" , "login/index.html.twig" ));
$this -> parent = $this -> loadTemplate ( "base.html.twig" , "login/index.html.twig" , 1 );
$this -> parent -> display ( $context , array_merge ( $this -> blocks , $blocks ));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
}
// line 3
public function block_title ( $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 (), "block" , "title" ));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> enter ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "title" ));
echo "Connexion" ;
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
}
// line 6
public function block_body ( $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 (), "block" , "body" ));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> enter ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "body" ));
// line 7
echo "
<div class=\"row\">
<div class=\"d-flex justify-content-center\">
<div class=\"col-12 col-md-6\">
<div class=\"row d-flex justify-content-center\">
<div class=\"col col-md-6 card-head\">
<img src=\"";
// line 13
echo twig_escape_filter ( $this -> env , $this -> extensions [ 'Symfony\Bridge\Twig\Extension\AssetExtension' ]-> getAssetUrl (( "build/images/" . twig_get_attribute ( $this -> env , $this -> source , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "brandService" ]) || array_key_exists ( "brandService" , $context ) ? $context [ "brandService" ] : (function () { throw new RuntimeError ( 'Variable "brandService" does not exist.' , 13 , $this -> source ); })()), "brand" , [], "any" , false , false , false , 13 ), "logo" , [], "any" , false , false , false , 13 ))), "html" , null , true );
echo "\" class=\"logo-adn card-img-top\"
alt=\"logo\">
</div>
</div>
<div class=\"col-12\">
";
// line 19
if ((isset( $context [ "error" ]) || array_key_exists ( "error" , $context ) ? $context [ "error" ] : (function () { throw new RuntimeError ( 'Variable "error" does not exist.' , 19 , $this -> source ); })())) {
// line 20
echo " <div class=\"alert-danger alert\">" ;
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.' , 20 , $this -> source ); })()), "messageKey" , [], "any" , false , false , false , 20 ), 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.' , 20 , $this -> source ); })()), "messageData" , [], "any" , false , false , false , 20 ), "security" ), "html" , null , true );
echo "</div>
";
}
// line 22
echo "
";
// line 23
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.' , 23 , $this -> source ); })()), 'form_start' );
echo "
";
// line 25
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.' , 25 , $this -> source ); })()), "_username" , [], "any" , false , false , false , 25 ), 'row' );
echo "
";
// line 26
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.' , 26 , $this -> source ); })()), "_password" , [], "any" , false , false , false , 26 ), 'row' );
echo "
<div class=\"d-flex justify-content-end mb-3\">
<a class=\"color-text-link\" href=\"";
// line 29
echo $this -> extensions [ 'Symfony\Bridge\Twig\Extension\RoutingExtension' ]-> getPath ( "app_forgot_password_request" );
echo "\">
<small>";
// line 30
echo twig_escape_filter ( $this -> env , $this -> extensions [ 'Symfony\Bridge\Twig\Extension\TranslationExtension' ]-> trans ( "app.login.forgottenPassword" ), "html" , null , true );
echo "</small>
</a>
</div>
<div class='color-text mb-5 first-visit-message'>
<p class=\"first-visit-message__primary-text\">";
// line 35
echo twig_escape_filter ( $this -> env , $this -> extensions [ 'Symfony\Bridge\Twig\Extension\TranslationExtension' ]-> trans ( "app.login.firstVisit" ), "html" , null , true );
echo "</p>
<p class=\"first-visit-message__secondary-text\">
";
// line 37
echo twig_escape_filter ( $this -> env , $this -> extensions [ 'Symfony\Bridge\Twig\Extension\TranslationExtension' ]-> trans ( "app.login.text" ), "html" , null , true );
echo "<br><br>
<span class=\"small\">";
// line 38
echo twig_escape_filter ( $this -> env , $this -> extensions [ 'Symfony\Bridge\Twig\Extension\TranslationExtension' ]-> trans ( "app.login.smallText" ), "html" , null , true );
echo "</span>
</p>
</div>
<div class=\"mb-n3 mb-4 form-group d-flex justify-content-center\">
<button type=\"submit\" class=\"login-btn btnDefaut\">";
// line 42
echo twig_escape_filter ( $this -> env , $this -> extensions [ 'Symfony\Bridge\Twig\Extension\TranslationExtension' ]-> trans ( "app.common.buttons.login" ), "html" , null , true );
echo "</button>
</div>
";
// line 45
if ((isset( $context [ "redirectRoute" ]) || array_key_exists ( "redirectRoute" , $context ) ? $context [ "redirectRoute" ] : (function () { throw new RuntimeError ( 'Variable "redirectRoute" does not exist.' , 45 , $this -> source ); })())) {
// line 46
echo " <input type=\"hidden\" name=\"_target_path\" value=\"" ;
echo twig_escape_filter ( $this -> env , (isset( $context [ "redirectRoute" ]) || array_key_exists ( "redirectRoute" , $context ) ? $context [ "redirectRoute" ] : (function () { throw new RuntimeError ( 'Variable "redirectRoute" does not exist.' , 46 , $this -> source ); })()), "html" , null , true );
echo "\">
";
}
// line 48
echo " " ;
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.' , 48 , $this -> source ); })()), 'form_end' );
echo "
</div>
</div>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
}
public function getTemplateName ()
{
return "login/index.html.twig" ;
}
public function isTraitable ()
{
return false ;
}
public function getDebugInfo ()
{
return array ( 173 => 48 , 167 => 46 , 165 => 45 , 159 => 42 , 152 => 38 , 148 => 37 , 143 => 35 , 135 => 30 , 131 => 29 , 125 => 26 , 121 => 25 , 116 => 23 , 113 => 22 , 107 => 20 , 105 => 19 , 96 => 13 , 88 => 7 , 78 => 6 , 59 => 3 , 36 => 1 ,);
}
public function getSourceContext ()
{
return new Source ( "{% extends 'base.html.twig' %}
{% block title %}Connexion{% endblock %}
{% block body %}
<div class=\"row\">
<div class=\"d-flex justify-content-center\">
<div class=\"col-12 col-md-6\">
<div class=\"row d-flex justify-content-center\">
<div class=\"col col-md-6 card-head\">
<img src=\"{{ asset('build/images/' ~ brandService.brand.logo) }}\" class=\"logo-adn card-img-top\"
alt=\"logo\">
</div>
</div>
<div class=\"col-12\">
{% if error %}
<div class=\"alert-danger alert\">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
{% endif %}
{{ form_start(form) }}
{{ form_row(form._username) }}
{{ form_row(form._password) }}
<div class=\"d-flex justify-content-end mb-3\">
<a class=\"color-text-link\" href=\"{{ path('app_forgot_password_request') }}\">
<small>{{ 'app.login.forgottenPassword'|trans}}</small>
</a>
</div>
<div class='color-text mb-5 first-visit-message'>
<p class=\"first-visit-message__primary-text\">{{ 'app.login.firstVisit'|trans}}</p>
<p class=\"first-visit-message__secondary-text\">
{{ 'app.login.text'|trans }}<br><br>
<span class=\"small\">{{ 'app.login.smallText'|trans }}</span>
</p>
</div>
<div class=\"mb-n3 mb-4 form-group d-flex justify-content-center\">
<button type=\"submit\" class=\"login-btn btnDefaut\">{{ 'app.common.buttons.login'|trans }}</button>
</div>
{% if redirectRoute %}
<input type=\"hidden\" name=\"_target_path\" value=\"{{ redirectRoute }}\">
{% endif %}
{{ form_end(form) }}
</div>
</div>
</div>
</div>
{% endblock %}", "login/index.html.twig" , "/home/pastorz/old-espace-client/templates/login/index.html.twig" );
}
}