<?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;

/* user/register.html.twig */
class __TwigTemplate_4e371a2031db0eec150ded4902d17524 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 = [
            'page_content' => [$this, 'block_page_content'],
        ];
    }

    protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
    {
        // line 1
        return "profile.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "user/register.html.twig"));

        $this->parent = $this->load("profile.html.twig", 1);
        yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

    }

    // line 3
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_page_content(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_content"));

        // line 4
        yield "    <div class=\"register-box\">
        <div class=\"register-logo\">
                <a href=\"";
        // line 6
        yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
        yield "\"><b>MeS</b>ODD</a>
        </div>
      
        <div class=\"card\">
            <div class=\"card-body register-card-body\">
                <p class=\"login-box-msg\">Register a new membership</p>
      
                ";
        // line 13
        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.', 13, $this->source); })()), 'form_start');
        yield "
                    <div class=\"input-group mb-3\">
                        ";
        // line 15
        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.', 15, $this->source); })()), "username", [], "any", false, false, false, 15), 'widget');
        yield "
                        <!--input type=\"text\" class=\"form-control\" placeholder=\"Full name\"-->
                        <div class=\"input-group-append input-group-text\">
                            <span class=\"fas fa-user\"></span>
                        </div>
                    </div>
                    <div class=\"input-group mb-3\">
                        ";
        // line 22
        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.', 22, $this->source); })()), "email", [], "any", false, false, false, 22), 'widget');
        yield "
                        <!--input type=\"email\" class=\"form-control\" placeholder=\"Email\"-->
                        <div class=\"input-group-append input-group-text\">
                            <span class=\"fas fa-envelope\"></span>
                        </div>
                    </div>
                    <div class=\"input-group mb-3\">
                        ";
        // line 29
        yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, 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); })()), "plainPassword", [], "any", false, false, false, 29), "first", [], "any", false, false, false, 29), 'widget');
        yield "
                        <!--input type=\"password\" class=\"form-control\" placeholder=\"Password\"-->
                        <div class=\"input-group-append input-group-text\">
                            <span class=\"fas fa-lock\"></span>
                        </div>
                    </div>
                    <div class=\"input-group mb-3\">
                        ";
        // line 36
        yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, 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); })()), "plainPassword", [], "any", false, false, false, 36), "second", [], "any", false, false, false, 36), 'widget');
        yield "
                        <!--input type=\"password\" class=\"form-control\" placeholder=\"Retype password\"-->
                        <div class=\"input-group-append input-group-text\">
                            <span class=\"fas fa-lock\"></span>
                        </div>
                    </div>
                    <div class=\"input-group mb-3\">
                        ";
        // line 43
        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.', 43, $this->source); })()), "givenName", [], "any", false, false, false, 43), 'widget');
        yield "
                        <div class=\"input-group-append input-group-text\">
                            <span class=\"fas fa-user\"></span>
                        </div>
                    </div>
                    <div class=\"input-group mb-3\">
                        ";
        // line 49
        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.', 49, $this->source); })()), "familyName", [], "any", false, false, false, 49), 'widget');
        yield "
                        <div class=\"input-group-append input-group-text\">
                            <span class=\"fas fa-user\"></span>
                        </div>
                    </div>
                    <div class=\"input-group mb-3\">
                        ";
        // line 55
        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.', 55, $this->source); })()), "telephone", [], "any", false, false, false, 55), 'widget');
        yield "
                        <div class=\"input-group-append input-group-text\">
                            <span class=\"fas fa-phone\"></span>
                        </div>
                    </div>
        
                    <div class=\"row\">
                        <div class=\"col-8\">
                            <div class=\"icheck-primary\">
                                <input type=\"checkbox\" id=\"agreeTerms\" name=\"terms\" value=\"agree\">
                                <label for=\"agreeTerms\">
                                I agree to the <a href=\"#\">terms</a>
                                </label>
                            </div>
                        </div>

                        <div class=\"col-4\">
                            <button type=\"submit\" class=\"btn btn-primary btn-block btn-flat\">Register</button>
                        </div>

                    </div>
                ";
        // line 76
        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.', 76, $this->source); })()), 'form_end');
        yield "
      
                <!--div class=\"social-auth-links text-center\">
                <p>- OR -</p>
                <a href=\"#\" class=\"btn btn-block btn-primary\">
                    <i class=\"fab fa-facebook mr-2\"></i>
                    Sign up using Facebook
                </a>
                <a href=\"#\" class=\"btn btn-block btn-danger\">
                    <i class=\"fab fa-google-plus mr-2\"></i>
                    Sign up using Google+
                </a>
                </div-->
      
                <a href=\"";
        // line 90
        yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
        yield "\" class=\"text-center\">";
        yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("authentication.already_registered", [], "messages");
        yield "</a> 
            </div>

        </div>
    </div>
";
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "user/register.html.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function isTraitable(): bool
    {
        return false;
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  185 => 90,  168 => 76,  144 => 55,  135 => 49,  126 => 43,  116 => 36,  106 => 29,  96 => 22,  86 => 15,  81 => 13,  71 => 6,  67 => 4,  57 => 3,  40 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("{% extends 'profile.html.twig' %}

{% block page_content %}
    <div class=\"register-box\">
        <div class=\"register-logo\">
                <a href=\"{{ path('homepage') }}\"><b>MeS</b>ODD</a>
        </div>
      
        <div class=\"card\">
            <div class=\"card-body register-card-body\">
                <p class=\"login-box-msg\">Register a new membership</p>
      
                {{ form_start(form) }}
                    <div class=\"input-group mb-3\">
                        {{ form_widget(form.username) }}
                        <!--input type=\"text\" class=\"form-control\" placeholder=\"Full name\"-->
                        <div class=\"input-group-append input-group-text\">
                            <span class=\"fas fa-user\"></span>
                        </div>
                    </div>
                    <div class=\"input-group mb-3\">
                        {{ form_widget(form.email) }}
                        <!--input type=\"email\" class=\"form-control\" placeholder=\"Email\"-->
                        <div class=\"input-group-append input-group-text\">
                            <span class=\"fas fa-envelope\"></span>
                        </div>
                    </div>
                    <div class=\"input-group mb-3\">
                        {{ form_widget(form.plainPassword.first) }}
                        <!--input type=\"password\" class=\"form-control\" placeholder=\"Password\"-->
                        <div class=\"input-group-append input-group-text\">
                            <span class=\"fas fa-lock\"></span>
                        </div>
                    </div>
                    <div class=\"input-group mb-3\">
                        {{ form_widget(form.plainPassword.second) }}
                        <!--input type=\"password\" class=\"form-control\" placeholder=\"Retype password\"-->
                        <div class=\"input-group-append input-group-text\">
                            <span class=\"fas fa-lock\"></span>
                        </div>
                    </div>
                    <div class=\"input-group mb-3\">
                        {{ form_widget(form.givenName) }}
                        <div class=\"input-group-append input-group-text\">
                            <span class=\"fas fa-user\"></span>
                        </div>
                    </div>
                    <div class=\"input-group mb-3\">
                        {{ form_widget(form.familyName) }}
                        <div class=\"input-group-append input-group-text\">
                            <span class=\"fas fa-user\"></span>
                        </div>
                    </div>
                    <div class=\"input-group mb-3\">
                        {{ form_widget(form.telephone) }}
                        <div class=\"input-group-append input-group-text\">
                            <span class=\"fas fa-phone\"></span>
                        </div>
                    </div>
        
                    <div class=\"row\">
                        <div class=\"col-8\">
                            <div class=\"icheck-primary\">
                                <input type=\"checkbox\" id=\"agreeTerms\" name=\"terms\" value=\"agree\">
                                <label for=\"agreeTerms\">
                                I agree to the <a href=\"#\">terms</a>
                                </label>
                            </div>
                        </div>

                        <div class=\"col-4\">
                            <button type=\"submit\" class=\"btn btn-primary btn-block btn-flat\">Register</button>
                        </div>

                    </div>
                {{ form_end(form) }}
      
                <!--div class=\"social-auth-links text-center\">
                <p>- OR -</p>
                <a href=\"#\" class=\"btn btn-block btn-primary\">
                    <i class=\"fab fa-facebook mr-2\"></i>
                    Sign up using Facebook
                </a>
                <a href=\"#\" class=\"btn btn-block btn-danger\">
                    <i class=\"fab fa-google-plus mr-2\"></i>
                    Sign up using Google+
                </a>
                </div-->
      
                <a href=\"{{ path('app_login') }}\" class=\"text-center\">{% trans %}authentication.already_registered{% endtrans %}</a> 
            </div>

        </div>
    </div>
{% endblock %}
", "user/register.html.twig", "/var/www/vhosts/sigodd.gouv.bj/httpdocs/templates/user/register.html.twig");
    }
}
