<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;
/* account/account.html.twig */
class __TwigTemplate_2bb4f1d828904ba6eac95c226b11f43fdea3bccd2b406e779ef812b7484074ad extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'javascripts' => [$this, 'block_javascripts'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$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", "account/account.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "account/account.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "account/account.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_title(array $context, array $blocks = []): iterable
{
$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", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
yield "Les trésors de Luna";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
yield from [];
}
// line 5
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_javascripts(array $context, array $blocks = []): iterable
{
$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", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 6
yield "
<script type=\"module\">
import FormValidation from '";
// line 8
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/classes/FormValidation.js"), "html", null, true);
yield "'
window.addEventListener('load', () => {
const registrationForm = document.getElementById('registration_form')
const excludedInputsId = ['registration_form_agreeTerms', 'registration_form__token']
const createAccountButton = document.getElementById('create-user-acount-button')
const formValidation = new FormValidation(registrationForm, createAccountButton, excludedInputsId)
})
</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
yield from [];
}
// line 22
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_body(array $context, array $blocks = []): iterable
{
$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", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 23
yield "
<body>
<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"display: none;\">
<defs>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"link\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M12 19a1 1 0 1 0-1-1a1 1 0 0 0 1 1Zm5 0a1 1 0 1 0-1-1a1 1 0 0 0 1 1Zm0-4a1 1 0 1 0-1-1a1 1 0 0 0 1 1Zm-5 0a1 1 0 1 0-1-1a1 1 0 0 0 1 1Zm7-12h-1V2a1 1 0 0 0-2 0v1H8V2a1 1 0 0 0-2 0v1H5a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3Zm1 17a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-9h16Zm0-11H4V6a1 1 0 0 1 1-1h1v1a1 1 0 0 0 2 0V5h8v1a1 1 0 0 0 2 0V5h1a1 1 0 0 1 1 1ZM7 15a1 1 0 1 0-1-1a1 1 0 0 0 1 1Zm0 4a1 1 0 1 0-1-1a1 1 0 0 0 1 1Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"arrow-right\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M17.92 11.62a1 1 0 0 0-.21-.33l-5-5a1 1 0 0 0-1.42 1.42l3.3 3.29H7a1 1 0 0 0 0 2h7.59l-3.3 3.29a1 1 0 0 0 0 1.42a1 1 0 0 0 1.42 0l5-5a1 1 0 0 0 .21-.33a1 1 0 0 0 0-.76Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"category\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M19 5.5h-6.28l-.32-1a3 3 0 0 0-2.84-2H5a3 3 0 0 0-3 3v13a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3v-10a3 3 0 0 0-3-3Zm1 13a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-13a1 1 0 0 1 1-1h4.56a1 1 0 0 1 .95.68l.54 1.64a1 1 0 0 0 .95.68h7a1 1 0 0 1 1 1Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"calendar\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M19 4h-2V3a1 1 0 0 0-2 0v1H9V3a1 1 0 0 0-2 0v1H5a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3Zm1 15a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-7h16Zm0-9H4V7a1 1 0 0 1 1-1h2v1a1 1 0 0 0 2 0V6h6v1a1 1 0 0 0 2 0V6h2a1 1 0 0 1 1 1Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"heart\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M20.16 4.61A6.27 6.27 0 0 0 12 4a6.27 6.27 0 0 0-8.16 9.48l7.45 7.45a1 1 0 0 0 1.42 0l7.45-7.45a6.27 6.27 0 0 0 0-8.87Zm-1.41 7.46L12 18.81l-6.75-6.74a4.28 4.28 0 0 1 3-7.3a4.25 4.25 0 0 1 3 1.25a1 1 0 0 0 1.42 0a4.27 4.27 0 0 1 6 6.05Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"plus\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M19 11h-6V5a1 1 0 0 0-2 0v6H5a1 1 0 0 0 0 2h6v6a1 1 0 0 0 2 0v-6h6a1 1 0 0 0 0-2Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"minus\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\" d=\"M19 11H5a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"cart\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M8.5 19a1.5 1.5 0 1 0 1.5 1.5A1.5 1.5 0 0 0 8.5 19ZM19 16H7a1 1 0 0 1 0-2h8.491a3.013 3.013 0 0 0 2.885-2.176l1.585-5.55A1 1 0 0 0 19 5H6.74a3.007 3.007 0 0 0-2.82-2H3a1 1 0 0 0 0 2h.921a1.005 1.005 0 0 1 .962.725l.155.545v.005l1.641 5.742A3 3 0 0 0 7 18h12a1 1 0 0 0 0-2Zm-1.326-9l-1.22 4.274a1.005 1.005 0 0 1-.963.726H8.754l-.255-.892L7.326 7ZM16.5 19a1.5 1.5 0 1 0 1.5 1.5a1.5 1.5 0 0 0-1.5-1.5Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"check\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M18.71 7.21a1 1 0 0 0-1.42 0l-7.45 7.46l-3.13-3.14A1 1 0 1 0 5.29 13l3.84 3.84a1 1 0 0 0 1.42 0l8.16-8.16a1 1 0 0 0 0-1.47Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"trash\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M10 18a1 1 0 0 0 1-1v-6a1 1 0 0 0-2 0v6a1 1 0 0 0 1 1ZM20 6h-4V5a3 3 0 0 0-3-3h-2a3 3 0 0 0-3 3v1H4a1 1 0 0 0 0 2h1v11a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V8h1a1 1 0 0 0 0-2ZM10 5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v1h-4Zm7 14a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V8h10Zm-3-1a1 1 0 0 0 1-1v-6a1 1 0 0 0-2 0v6a1 1 0 0 0 1 1Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"star-outline\" viewBox=\"0 0 15 15\">
<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"
d=\"M7.5 9.804L5.337 11l.413-2.533L4 6.674l2.418-.37L7.5 4l1.082 2.304l2.418.37l-1.75 1.793L9.663 11L7.5 9.804Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"star-solid\" viewBox=\"0 0 15 15\">
<path fill=\"currentColor\"
d=\"M7.953 3.788a.5.5 0 0 0-.906 0L6.08 5.85l-2.154.33a.5.5 0 0 0-.283.843l1.574 1.613l-.373 2.284a.5.5 0 0 0 .736.518l1.92-1.063l1.921 1.063a.5.5 0 0 0 .736-.519l-.373-2.283l1.574-1.613a.5.5 0 0 0-.283-.844L8.921 5.85l-.968-2.062Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"search\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M21.71 20.29L18 16.61A9 9 0 1 0 16.61 18l3.68 3.68a1 1 0 0 0 1.42 0a1 1 0 0 0 0-1.39ZM11 18a7 7 0 1 1 7-7a7 7 0 0 1-7 7Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"user\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M15.71 12.71a6 6 0 1 0-7.42 0a10 10 0 0 0-6.22 8.18a1 1 0 0 0 2 .22a8 8 0 0 1 15.9 0a1 1 0 0 0 1 .89h.11a1 1 0 0 0 .88-1.1a10 10 0 0 0-6.25-8.19ZM12 12a4 4 0 1 1 4-4a4 4 0 0 1-4 4Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"close\" viewBox=\"0 0 15 15\">
<path fill=\"currentColor\"
d=\"M7.953 3.788a.5.5 0 0 0-.906 0L6.08 5.85l-2.154.33a.5.5 0 0 0-.283.843l1.574 1.613l-.373 2.284a.5.5 0 0 0 .736.518l1.92-1.063l1.921 1.063a.5.5 0 0 0 .736-.519l-.373-2.283l1.574-1.613a.5.5 0 0 0-.283-.844L8.921 5.85l-.968-2.062Z\" />
</symbol>
</defs>
</svg>
<div class=\"preloader-wrapper\">
<div class=\"preloader\">
</div>
</div>
<div class=\"offcanvas offcanvas-end\" data-bs-scroll=\"true\" tabindex=\"-1\" id=\"offcanvasCart\"
aria-labelledby=\"My Cart\">
<div class=\"offcanvas-header justify-content-center\">
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"offcanvas\" aria-label=\"Close\"></button>
</div>
<div class=\"offcanvas-body\">
<div class=\"order-md-last\">
<h4 class=\"d-flex justify-content-between align-items-center mb-3\">
<span class=\"text-primary\">Your cart</span>
<span class=\"badge bg-primary rounded-circle pt-2\">3</span>
</h4>
<ul class=\"list-group mb-3\">
<li class=\"list-group-item d-flex justify-content-between lh-sm\">
<div>
<h6 class=\"my-0\">Grey Hoodie</h6>
<small class=\"text-body-secondary\">Brief description</small>
</div>
<span class=\"text-body-secondary\">\$12</span>
</li>
<li class=\"list-group-item d-flex justify-content-between lh-sm\">
<div>
<h6 class=\"my-0\">Dog Food</h6>
<small class=\"text-body-secondary\">Brief description</small>
</div>
<span class=\"text-body-secondary\">\$8</span>
</li>
<li class=\"list-group-item d-flex justify-content-between lh-sm\">
<div>
<h6 class=\"my-0\">Soft Toy</h6>
<small class=\"text-body-secondary\">Brief description</small>
</div>
<span class=\"text-body-secondary\">\$5</span>
</li>
<li class=\"list-group-item d-flex justify-content-between\">
<span class=\"fw-bold\">Total (USD)</span>
<strong>\$20</strong>
</li>
</ul>
<button class=\"w-100 btn btn-primary btn-lg\" type=\"submit\">Continue to checkout</button>
</div>
</div>
</div>
<div class=\"offcanvas offcanvas-end\" data-bs-scroll=\"true\" tabindex=\"-1\" id=\"offcanvasSearch\"
aria-labelledby=\"Search\">
<div class=\"offcanvas-header justify-content-center\">
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"offcanvas\" aria-label=\"Close\"></button>
</div>
<div class=\"offcanvas-body\">
<div class=\"order-md-last\">
<h4 class=\"text-primary text-uppercase mb-3\">
Search
</h4>
";
// line 159
yield "
</div>
</div>
</div>
<section id=\"banner\" class=\"py-3\" style=\"background: #F9F3EC;\">
<div class=\"container\">
<div class=\"hero-content py-5 my-3\">
<h2 class=\"display-1 mt-3 mb-0\">Votre compte</h2>
<nav class=\"breadcrumb\">
<a class=\"breadcrumb-item nav-link\" href=\"";
// line 169
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_home");
yield "\">Accueil</a>
<span class=\"breadcrumb-item active\" aria-current=\"page\">Compte utilisateur</span>
</nav>
</div>
</div>
</section>
";
// line 176
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 176, $this->source); })()), "flashes", ["verify_email_error"], "method", false, false, false, 176));
foreach ($context['_seq'] as $context["_key"] => $context["flash_error"]) {
// line 177
yield " <div class=\"alert alert-danger\" role=\"alert\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["flash_error"], "html", null, true);
yield "</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['flash_error'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 179
yield "
<section class=\"login-tabs padding-large\">
<div class=\"container my-5 py-5\">
<div class=\"row\">
<div class=\"tabs-listing\">
<nav>
<div class=\"nav nav-tabs d-flex justify-content-center border-dark-subtle mb-3\" id=\"nav-tab\"
role=\"tablist\">
<button
class=\"nav-link mx-3 fs-3 border-bottom border-dark-subtle border-0 text-uppercase active\"
id=\"nav-sign-in-tab\" data-bs-toggle=\"tab\" data-bs-target=\"#nav-sign-in\" type=\"button\"
role=\"tab\" aria-controls=\"nav-sign-in\" aria-selected=\"true\">Connexion</button>
<button class=\"nav-link mx-3 fs-3 border-bottom border-dark-subtle border-0 text-uppercase\"
id=\"nav-register-tab\" data-bs-toggle=\"tab\" data-bs-target=\"#nav-register\" type=\"button\"
role=\"tab\" aria-controls=\"nav-register\" aria-selected=\"false\">Créer un compte</button>
</div>
</nav>
<div class=\"tab-content\" id=\"nav-tabContent\">
<div class=\"tab-pane fade active show\" id=\"nav-sign-in\" role=\"tabpanel\"
aria-labelledby=\"nav-sign-in-tab\">
<div class=\"col-lg-8 offset-lg-2 mt-5\">
";
// line 205
yield " <div class=\"social-wrapper row mt-4 mb-4\">
<div class=\"d-grid col-md-6 my-2\">
<div id=\"g_id_onload\"
data-client_id=\"221318372673-1p9ujk71bfmi1t4a8n5n38c6g8qvs1b4.apps.googleusercontent.com\"
data-context=\"signin\"
data-ux_mode=\"popup\"
data-login_uri=\"https://lestresorsdeluna.fr/connect/google/callback\"
data-auto_prompt=\"false\">
</div>
<div class=\"g_id_signin\"
data-type=\"standard\"
data-shape=\"rectangular\"
data-theme=\"outline\"
data-text=\"signin_with\"
data-size=\"large\"
data-logo_alignment=\"left\">
</div>
</div>
";
// line 235
yield " </div>
<p class=\"mb-0\">Connexion par Email</p>
<hr class=\"my-1\">
<form id=\"login_form\" action=\"";
// line 241
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
yield "\" data-link=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
yield "\" method=\"post\" class=\"form-group flex-wrap \">
";
// line 243
if ((isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 243, $this->source); })())) {
// line 244
yield " <div class=\"alert alert-danger\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env, $this->source, (isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 244, $this->source); })()), "messageKey", [], "any", false, false, false, 244), CoreExtension::getAttribute($this->env, $this->source, (isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 244, $this->source); })()), "messageData", [], "any", false, false, false, 244), "security"), "html", null, true);
yield "</div>
";
}
// line 246
yield "
";
// line 247
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 247, $this->source); })()), "user", [], "any", false, false, false, 247)) {
// line 248
yield " <div class=\"mb-3\">
Vous êtes connecté à ";
// line 249
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 249, $this->source); })()), "user", [], "any", false, false, false, 249), "userIdentifier", [], "any", false, false, false, 249), "html", null, true);
yield ", <a href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
yield "\">Logout</a>
</div>
";
}
// line 251
yield "
<div class=\"form-input col-lg-12 my-4\">
<input type=\"email\" value=\"";
// line 254
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["last_username"]) || array_key_exists("last_username", $context) ? $context["last_username"] : (function () { throw new RuntimeError('Variable "last_username" does not exist.', 254, $this->source); })()), "html", null, true);
yield "\" name=\"_username\" id=\"username\" class=\"form-control mb-3 p-4\" placeholder=\"Email\" autocomplete=\"email\" required autofocus>
<input type=\"password\" name=\"_password\" id=\"password\" class=\"form-control mb-3 p-4\" placeholder=\"Mot de passe\" autocomplete=\"current-password\" aria-describedby=\"passwordHelpBlock\" required>
<input type=\"hidden\" name=\"_csrf_token\" value=\"";
// line 256
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html", null, true);
yield "\">
<label class=\"py-3 d-flex flex-wrap justify-content-between\">
<div>
<input type=\"checkbox\" name=\"_remember_me\" class=\"d-inline\">
<span class=\"label-body \">Se rappeler de moi</span>
</div>
<div id=\"passwordHelpBlock\" class=\"form-text \">
<a href=\"#\" class=\"text-primary fw-bold\"> Mot de passe oublié ?</a>
</div>
</label>
<div class=\"d-grid my-3\">
<button type=\"submit\" href=\"#\" class=\"btn btn-dark btn-lg rounded-1\">Se connecter</button>
</div>
</div>
</form>
</div>
</div>
<div class=\"tab-pane fade\" id=\"nav-register\" role=\"tabpanel\" aria-labelledby=\"nav-register-tab\">
<div class=\"col-lg-8 offset-lg-2 mt-5\">
";
// line 285
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 285, $this->source); })()), 'form_start');
yield "
<div class=\"form-input col-lg-12 my-4\">
<label style=\"color: red;\" for=\"registration_form_surname\"></label>
";
// line 289
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 289, $this->source); })()), "surname", [], "any", false, false, false, 289), 'widget');
yield "
<label style=\"color: red;\" for=\"registration_form_firstname\"></label>
";
// line 292
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 292, $this->source); })()), "firstname", [], "any", false, false, false, 292), 'widget');
yield "
<label style=\"color: red;\" for=\"registration_form_phone\"></label>
";
// line 295
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 295, $this->source); })()), "phone", [], "any", false, false, false, 295), 'widget');
yield "
<label style=\"color: red;\" for=\"registration_form_adress\"></label>
";
// line 298
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 298, $this->source); })()), "adress", [], "any", false, false, false, 298), 'widget');
yield "
<label style=\"color: red;\" for=\"registration_form_additionalAdressInformation\"></label>
";
// line 301
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 301, $this->source); })()), "additionalAdressInformation", [], "any", false, false, false, 301), 'widget');
yield "
<label style=\"color: red;\" for=\"registration_form_city\"></label>
";
// line 304
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 304, $this->source); })()), "city", [], "any", false, false, false, 304), 'widget');
yield "
<label style=\"color: red;\" for=\"registration_form_zipcode\"></label>
";
// line 307
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 307, $this->source); })()), "zipcode", [], "any", false, false, false, 307), 'widget');
yield "
<label style=\"color: red;\" for=\"registration_form_email\"></label>
";
// line 310
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 310, $this->source); })()), "email", [], "any", false, false, false, 310), 'widget');
yield "
<div class=\"errors\" style=\"color: red;\">
";
// line 313
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 313, $this->source); })()), "plainPassword", [], "any", false, false, false, 313), 'errors');
yield "
</div>
<label style=\"color: red;\" for=\"registration_form_plainPassword\"></label>
";
// line 316
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 316, $this->source); })()), "plainPassword", [], "any", false, false, false, 316), 'widget');
yield "
<label id=\"repeated-pass-label\" style=\"color: red;\" for=\"inputPassword2\"></label>
<input type=\"password\" id=\"inputPassword2\" placeholder=\"Retapez votre mot de passe\"
class=\"form-control mb-3 p-4 formValidationCode\" aria-describedby=\"passwordHelpBlock\" required>
<label class=\"py-3 d-flex flex-wrap justify-content-between\">
<div>
";
// line 324
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 324, $this->source); })()), "agreeTerms", [], "any", false, false, false, 324), 'widget');
yield "
";
// line 325
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 325, $this->source); })()), "agreeTerms", [], "any", false, false, false, 325), 'label');
yield " <a style=\"font-size: 1rem; color: black; font-weight: bold;\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cgv");
yield "\" target=\"_blank\">Lire les CGV</a>
</div>
</label>
<div class=\"d-grid my-3\">
<button id=\"create-user-acount-button\" type=\"submit\" class=\"btn btn-dark btn-lg rounded-1\">Créer le compte</a>
</div>
</div>
";
// line 335
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 335, $this->source); })()), 'form_end');
yield "
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<script src=\"";
// line 345
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/login.js"), "html", null, true);
yield "\"></script>
</body>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "account/account.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 537 => 345, 524 => 335, 509 => 325, 505 => 324, 494 => 316, 488 => 313, 482 => 310, 476 => 307, 470 => 304, 464 => 301, 458 => 298, 452 => 295, 446 => 292, 440 => 289, 433 => 285, 401 => 256, 396 => 254, 391 => 251, 383 => 249, 380 => 248, 378 => 247, 375 => 246, 369 => 244, 367 => 243, 360 => 241, 352 => 235, 331 => 205, 307 => 179, 298 => 177, 294 => 176, 284 => 169, 272 => 159, 142 => 23, 129 => 22, 105 => 8, 101 => 6, 88 => 5, 65 => 3, 42 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends 'base.html.twig' %}
{% block title %}Les trésors de Luna{% endblock %}
{% block javascripts %}
<script type=\"module\">
import FormValidation from '{{asset(\"js/classes/FormValidation.js\")}}'
window.addEventListener('load', () => {
const registrationForm = document.getElementById('registration_form')
const excludedInputsId = ['registration_form_agreeTerms', 'registration_form__token']
const createAccountButton = document.getElementById('create-user-acount-button')
const formValidation = new FormValidation(registrationForm, createAccountButton, excludedInputsId)
})
</script>
{% endblock javascripts %}
{% block body %}
<body>
<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"display: none;\">
<defs>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"link\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M12 19a1 1 0 1 0-1-1a1 1 0 0 0 1 1Zm5 0a1 1 0 1 0-1-1a1 1 0 0 0 1 1Zm0-4a1 1 0 1 0-1-1a1 1 0 0 0 1 1Zm-5 0a1 1 0 1 0-1-1a1 1 0 0 0 1 1Zm7-12h-1V2a1 1 0 0 0-2 0v1H8V2a1 1 0 0 0-2 0v1H5a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3Zm1 17a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-9h16Zm0-11H4V6a1 1 0 0 1 1-1h1v1a1 1 0 0 0 2 0V5h8v1a1 1 0 0 0 2 0V5h1a1 1 0 0 1 1 1ZM7 15a1 1 0 1 0-1-1a1 1 0 0 0 1 1Zm0 4a1 1 0 1 0-1-1a1 1 0 0 0 1 1Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"arrow-right\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M17.92 11.62a1 1 0 0 0-.21-.33l-5-5a1 1 0 0 0-1.42 1.42l3.3 3.29H7a1 1 0 0 0 0 2h7.59l-3.3 3.29a1 1 0 0 0 0 1.42a1 1 0 0 0 1.42 0l5-5a1 1 0 0 0 .21-.33a1 1 0 0 0 0-.76Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"category\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M19 5.5h-6.28l-.32-1a3 3 0 0 0-2.84-2H5a3 3 0 0 0-3 3v13a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3v-10a3 3 0 0 0-3-3Zm1 13a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-13a1 1 0 0 1 1-1h4.56a1 1 0 0 1 .95.68l.54 1.64a1 1 0 0 0 .95.68h7a1 1 0 0 1 1 1Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"calendar\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M19 4h-2V3a1 1 0 0 0-2 0v1H9V3a1 1 0 0 0-2 0v1H5a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3Zm1 15a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-7h16Zm0-9H4V7a1 1 0 0 1 1-1h2v1a1 1 0 0 0 2 0V6h6v1a1 1 0 0 0 2 0V6h2a1 1 0 0 1 1 1Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"heart\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M20.16 4.61A6.27 6.27 0 0 0 12 4a6.27 6.27 0 0 0-8.16 9.48l7.45 7.45a1 1 0 0 0 1.42 0l7.45-7.45a6.27 6.27 0 0 0 0-8.87Zm-1.41 7.46L12 18.81l-6.75-6.74a4.28 4.28 0 0 1 3-7.3a4.25 4.25 0 0 1 3 1.25a1 1 0 0 0 1.42 0a4.27 4.27 0 0 1 6 6.05Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"plus\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M19 11h-6V5a1 1 0 0 0-2 0v6H5a1 1 0 0 0 0 2h6v6a1 1 0 0 0 2 0v-6h6a1 1 0 0 0 0-2Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"minus\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\" d=\"M19 11H5a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"cart\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M8.5 19a1.5 1.5 0 1 0 1.5 1.5A1.5 1.5 0 0 0 8.5 19ZM19 16H7a1 1 0 0 1 0-2h8.491a3.013 3.013 0 0 0 2.885-2.176l1.585-5.55A1 1 0 0 0 19 5H6.74a3.007 3.007 0 0 0-2.82-2H3a1 1 0 0 0 0 2h.921a1.005 1.005 0 0 1 .962.725l.155.545v.005l1.641 5.742A3 3 0 0 0 7 18h12a1 1 0 0 0 0-2Zm-1.326-9l-1.22 4.274a1.005 1.005 0 0 1-.963.726H8.754l-.255-.892L7.326 7ZM16.5 19a1.5 1.5 0 1 0 1.5 1.5a1.5 1.5 0 0 0-1.5-1.5Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"check\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M18.71 7.21a1 1 0 0 0-1.42 0l-7.45 7.46l-3.13-3.14A1 1 0 1 0 5.29 13l3.84 3.84a1 1 0 0 0 1.42 0l8.16-8.16a1 1 0 0 0 0-1.47Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"trash\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M10 18a1 1 0 0 0 1-1v-6a1 1 0 0 0-2 0v6a1 1 0 0 0 1 1ZM20 6h-4V5a3 3 0 0 0-3-3h-2a3 3 0 0 0-3 3v1H4a1 1 0 0 0 0 2h1v11a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V8h1a1 1 0 0 0 0-2ZM10 5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v1h-4Zm7 14a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V8h10Zm-3-1a1 1 0 0 0 1-1v-6a1 1 0 0 0-2 0v6a1 1 0 0 0 1 1Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"star-outline\" viewBox=\"0 0 15 15\">
<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"
d=\"M7.5 9.804L5.337 11l.413-2.533L4 6.674l2.418-.37L7.5 4l1.082 2.304l2.418.37l-1.75 1.793L9.663 11L7.5 9.804Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"star-solid\" viewBox=\"0 0 15 15\">
<path fill=\"currentColor\"
d=\"M7.953 3.788a.5.5 0 0 0-.906 0L6.08 5.85l-2.154.33a.5.5 0 0 0-.283.843l1.574 1.613l-.373 2.284a.5.5 0 0 0 .736.518l1.92-1.063l1.921 1.063a.5.5 0 0 0 .736-.519l-.373-2.283l1.574-1.613a.5.5 0 0 0-.283-.844L8.921 5.85l-.968-2.062Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"search\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M21.71 20.29L18 16.61A9 9 0 1 0 16.61 18l3.68 3.68a1 1 0 0 0 1.42 0a1 1 0 0 0 0-1.39ZM11 18a7 7 0 1 1 7-7a7 7 0 0 1-7 7Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"user\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M15.71 12.71a6 6 0 1 0-7.42 0a10 10 0 0 0-6.22 8.18a1 1 0 0 0 2 .22a8 8 0 0 1 15.9 0a1 1 0 0 0 1 .89h.11a1 1 0 0 0 .88-1.1a10 10 0 0 0-6.25-8.19ZM12 12a4 4 0 1 1 4-4a4 4 0 0 1-4 4Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"close\" viewBox=\"0 0 15 15\">
<path fill=\"currentColor\"
d=\"M7.953 3.788a.5.5 0 0 0-.906 0L6.08 5.85l-2.154.33a.5.5 0 0 0-.283.843l1.574 1.613l-.373 2.284a.5.5 0 0 0 .736.518l1.92-1.063l1.921 1.063a.5.5 0 0 0 .736-.519l-.373-2.283l1.574-1.613a.5.5 0 0 0-.283-.844L8.921 5.85l-.968-2.062Z\" />
</symbol>
</defs>
</svg>
<div class=\"preloader-wrapper\">
<div class=\"preloader\">
</div>
</div>
<div class=\"offcanvas offcanvas-end\" data-bs-scroll=\"true\" tabindex=\"-1\" id=\"offcanvasCart\"
aria-labelledby=\"My Cart\">
<div class=\"offcanvas-header justify-content-center\">
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"offcanvas\" aria-label=\"Close\"></button>
</div>
<div class=\"offcanvas-body\">
<div class=\"order-md-last\">
<h4 class=\"d-flex justify-content-between align-items-center mb-3\">
<span class=\"text-primary\">Your cart</span>
<span class=\"badge bg-primary rounded-circle pt-2\">3</span>
</h4>
<ul class=\"list-group mb-3\">
<li class=\"list-group-item d-flex justify-content-between lh-sm\">
<div>
<h6 class=\"my-0\">Grey Hoodie</h6>
<small class=\"text-body-secondary\">Brief description</small>
</div>
<span class=\"text-body-secondary\">\$12</span>
</li>
<li class=\"list-group-item d-flex justify-content-between lh-sm\">
<div>
<h6 class=\"my-0\">Dog Food</h6>
<small class=\"text-body-secondary\">Brief description</small>
</div>
<span class=\"text-body-secondary\">\$8</span>
</li>
<li class=\"list-group-item d-flex justify-content-between lh-sm\">
<div>
<h6 class=\"my-0\">Soft Toy</h6>
<small class=\"text-body-secondary\">Brief description</small>
</div>
<span class=\"text-body-secondary\">\$5</span>
</li>
<li class=\"list-group-item d-flex justify-content-between\">
<span class=\"fw-bold\">Total (USD)</span>
<strong>\$20</strong>
</li>
</ul>
<button class=\"w-100 btn btn-primary btn-lg\" type=\"submit\">Continue to checkout</button>
</div>
</div>
</div>
<div class=\"offcanvas offcanvas-end\" data-bs-scroll=\"true\" tabindex=\"-1\" id=\"offcanvasSearch\"
aria-labelledby=\"Search\">
<div class=\"offcanvas-header justify-content-center\">
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"offcanvas\" aria-label=\"Close\"></button>
</div>
<div class=\"offcanvas-body\">
<div class=\"order-md-last\">
<h4 class=\"text-primary text-uppercase mb-3\">
Search
</h4>
{#
<div class=\"search-bar border rounded-2 border-dark-subtle\">
<form id=\"search-form\" class=\"text-center d-flex align-items-center\" action=\"\" method=\"\">
<input type=\"text\" class=\"form-control border-0 bg-transparent\" placeholder=\"Search Here\" />
<iconify-icon icon=\"tabler:search\" class=\"fs-4 me-3\"></iconify-icon>
</form>
</div>
#}
</div>
</div>
</div>
<section id=\"banner\" class=\"py-3\" style=\"background: #F9F3EC;\">
<div class=\"container\">
<div class=\"hero-content py-5 my-3\">
<h2 class=\"display-1 mt-3 mb-0\">Votre compte</h2>
<nav class=\"breadcrumb\">
<a class=\"breadcrumb-item nav-link\" href=\"{{path('app_home')}}\">Accueil</a>
<span class=\"breadcrumb-item active\" aria-current=\"page\">Compte utilisateur</span>
</nav>
</div>
</div>
</section>
{% for flash_error in app.flashes('verify_email_error') %}
<div class=\"alert alert-danger\" role=\"alert\">{{ flash_error }}</div>
{% endfor %}
<section class=\"login-tabs padding-large\">
<div class=\"container my-5 py-5\">
<div class=\"row\">
<div class=\"tabs-listing\">
<nav>
<div class=\"nav nav-tabs d-flex justify-content-center border-dark-subtle mb-3\" id=\"nav-tab\"
role=\"tablist\">
<button
class=\"nav-link mx-3 fs-3 border-bottom border-dark-subtle border-0 text-uppercase active\"
id=\"nav-sign-in-tab\" data-bs-toggle=\"tab\" data-bs-target=\"#nav-sign-in\" type=\"button\"
role=\"tab\" aria-controls=\"nav-sign-in\" aria-selected=\"true\">Connexion</button>
<button class=\"nav-link mx-3 fs-3 border-bottom border-dark-subtle border-0 text-uppercase\"
id=\"nav-register-tab\" data-bs-toggle=\"tab\" data-bs-target=\"#nav-register\" type=\"button\"
role=\"tab\" aria-controls=\"nav-register\" aria-selected=\"false\">Créer un compte</button>
</div>
</nav>
<div class=\"tab-content\" id=\"nav-tabContent\">
<div class=\"tab-pane fade active show\" id=\"nav-sign-in\" role=\"tabpanel\"
aria-labelledby=\"nav-sign-in-tab\">
<div class=\"col-lg-8 offset-lg-2 mt-5\">
{#
<p class=\"mb-0\">Log-In With Social</p>
<hr class=\"my-1\">
#}
<div class=\"social-wrapper row mt-4 mb-4\">
<div class=\"d-grid col-md-6 my-2\">
<div id=\"g_id_onload\"
data-client_id=\"221318372673-1p9ujk71bfmi1t4a8n5n38c6g8qvs1b4.apps.googleusercontent.com\"
data-context=\"signin\"
data-ux_mode=\"popup\"
data-login_uri=\"https://lestresorsdeluna.fr/connect/google/callback\"
data-auto_prompt=\"false\">
</div>
<div class=\"g_id_signin\"
data-type=\"standard\"
data-shape=\"rectangular\"
data-theme=\"outline\"
data-text=\"signin_with\"
data-size=\"large\"
data-logo_alignment=\"left\">
</div>
</div>
{#
<div class=\"d-grid col-md-6 my-2\">
<a href=\"#\" class=\"btn btn-outline-dark btn-lg text-uppercase fs-6 rounded-1 \">
<div class=\"d-flex flex-wrap justify-content-center\">
<iconify-icon icon=\"ion:logo-facebook\"
class=\"signup-social-icon me-2\"></iconify-icon>
<p class=\"mb-0\">Facebook</p>
</div>
</a>
</div>
#}
</div>
<p class=\"mb-0\">Connexion par Email</p>
<hr class=\"my-1\">
<form id=\"login_form\" action=\"{{ path('app_login') }}\" data-link=\"{{path('app_login')}}\" method=\"post\" class=\"form-group flex-wrap \">
{% if error %}
<div class=\"alert alert-danger\">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
{% endif %}
{% if app.user %}
<div class=\"mb-3\">
Vous êtes connecté à {{ app.user.userIdentifier }}, <a href=\"{{ path('app_logout') }}\">Logout</a>
</div>
{% endif %}
<div class=\"form-input col-lg-12 my-4\">
<input type=\"email\" value=\"{{ last_username }}\" name=\"_username\" id=\"username\" class=\"form-control mb-3 p-4\" placeholder=\"Email\" autocomplete=\"email\" required autofocus>
<input type=\"password\" name=\"_password\" id=\"password\" class=\"form-control mb-3 p-4\" placeholder=\"Mot de passe\" autocomplete=\"current-password\" aria-describedby=\"passwordHelpBlock\" required>
<input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
<label class=\"py-3 d-flex flex-wrap justify-content-between\">
<div>
<input type=\"checkbox\" name=\"_remember_me\" class=\"d-inline\">
<span class=\"label-body \">Se rappeler de moi</span>
</div>
<div id=\"passwordHelpBlock\" class=\"form-text \">
<a href=\"#\" class=\"text-primary fw-bold\"> Mot de passe oublié ?</a>
</div>
</label>
<div class=\"d-grid my-3\">
<button type=\"submit\" href=\"#\" class=\"btn btn-dark btn-lg rounded-1\">Se connecter</button>
</div>
</div>
</form>
</div>
</div>
<div class=\"tab-pane fade\" id=\"nav-register\" role=\"tabpanel\" aria-labelledby=\"nav-register-tab\">
<div class=\"col-lg-8 offset-lg-2 mt-5\">
{{form_start(registrationForm)}}
<div class=\"form-input col-lg-12 my-4\">
<label style=\"color: red;\" for=\"registration_form_surname\"></label>
{{form_widget(registrationForm.surname)}}
<label style=\"color: red;\" for=\"registration_form_firstname\"></label>
{{form_widget(registrationForm.firstname)}}
<label style=\"color: red;\" for=\"registration_form_phone\"></label>
{{form_widget(registrationForm.phone)}}
<label style=\"color: red;\" for=\"registration_form_adress\"></label>
{{form_widget(registrationForm.adress)}}
<label style=\"color: red;\" for=\"registration_form_additionalAdressInformation\"></label>
{{form_widget(registrationForm.additionalAdressInformation)}}
<label style=\"color: red;\" for=\"registration_form_city\"></label>
{{form_widget(registrationForm.city)}}
<label style=\"color: red;\" for=\"registration_form_zipcode\"></label>
{{form_widget(registrationForm.zipcode)}}
<label style=\"color: red;\" for=\"registration_form_email\"></label>
{{form_widget(registrationForm.email)}}
<div class=\"errors\" style=\"color: red;\">
{{ form_errors(registrationForm.plainPassword) }}
</div>
<label style=\"color: red;\" for=\"registration_form_plainPassword\"></label>
{{form_widget(registrationForm.plainPassword)}}
<label id=\"repeated-pass-label\" style=\"color: red;\" for=\"inputPassword2\"></label>
<input type=\"password\" id=\"inputPassword2\" placeholder=\"Retapez votre mot de passe\"
class=\"form-control mb-3 p-4 formValidationCode\" aria-describedby=\"passwordHelpBlock\" required>
<label class=\"py-3 d-flex flex-wrap justify-content-between\">
<div>
{{form_widget(registrationForm.agreeTerms)}}
{{form_label(registrationForm.agreeTerms)}} <a style=\"font-size: 1rem; color: black; font-weight: bold;\" href=\"{{path('cgv')}}\" target=\"_blank\">Lire les CGV</a>
</div>
</label>
<div class=\"d-grid my-3\">
<button id=\"create-user-acount-button\" type=\"submit\" class=\"btn btn-dark btn-lg rounded-1\">Créer le compte</a>
</div>
</div>
{{form_end(registrationForm)}}
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<script src=\"{{asset('js/login.js')}}\"></script>
</body>
{% endblock %}
", "account/account.html.twig", "/home/kvlquew/www/templates/account/account.html.twig");
}
}