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

/* borne/_borne_start.html.twig */
class __TwigTemplate_1e971f1eb20d9c6933d2415efb7afe41 extends Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->parent = false;

        $this->blocks = [
        ];
    }

    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", "borne/_borne_start.html.twig"));

        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "borne/_borne_start.html.twig"));

        // line 1
        echo "<div class=\"alert alert-success form-inline\">
            <i class=\"fa fa-charging-station\"></i> <b>Point de charge disponible</b></div>
<div class=\"alert alert-warning form-inline\">
               <i class=\"fa fa-envelope\"></i> Renseigner votre adresse mail </div>
<input type=\"email\" class=\"form-control\" id=\"email\" placeholder=\"Adresse email *\" value=\"";
        // line 5
        if (array_key_exists("email", $context)) {
            echo twig_escape_filter($this->env, (isset($context["email"]) || array_key_exists("email", $context) ? $context["email"] : (function () { throw new RuntimeError('Variable "email" does not exist.', 5, $this->source); })()), "html", null, true);
            echo " ";
        }
        echo "\"/>
<div class=\"alert alert-danger form-inline\">
         <i class=\"fas fa-lock-open\"></i> <b>Un code vous sera envoyé pour suivre et arreter votre charge</b>
 </div>


    


<div class=\"text-center mt-3 mb-3\">
    <button class=\"btn btn-primary\" id=\"payCharge\" data-bs-toggle=\"modal\" data-bs-target=\"#payModal\"><i class=\"fa-solid fa-credit-card\"></i> Payer </button>
    <button class=\"btn btn-primary\" id=\"startCharge\" disabled=\"disabled\"><i class=\"fa-solid fa-circle-play\"></i> Lancer la charge </button>
</div>


<!-- Modal -->
<div class=\"modal fade\" id=\"payModal\" tabindex=\"-1\" aria-labelledby=\"payModalLabel\" aria-hidden=\"true\" data-controller=\"stripe\">
    <div class=\"modal-dialog\">
        <div class=\"modal-content\">
            <form id=\"payment-form\">
                <div class=\"modal-header\">
                    <h1 class=\"modal-title fs-5\" id=\"exampleModalLabel\">Effectuez votre autorisation de paiement</h1>
                    <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"></button>
                </div>
                <div class=\"modal-body\">

                        <div id=\"payment-element\">
                            <!-- Elements will create form elements here -->
                            <i class=\"fa-solid fa-circle-notch fa-spin\"></i>Chargement
                        </div>
                        <div id=\"error-message\">
                            <!-- Display error message to your customers here -->
                        </div>
                </div>
                <div class=\"modal-footer\">
                    <button id=\"submit\" type=\"submit\" class=\"btn btn-primary\">Payer</button>
                    <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">Fermer</button>
                </div>
            </form>
        </div>
    </div>
</div>

";
        
        $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);

        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName()
    {
        return "borne/_borne_start.html.twig";
    }

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

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo()
    {
        return array (  49 => 5,  43 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("<div class=\"alert alert-success form-inline\">
            <i class=\"fa fa-charging-station\"></i> <b>Point de charge disponible</b></div>
<div class=\"alert alert-warning form-inline\">
               <i class=\"fa fa-envelope\"></i> Renseigner votre adresse mail </div>
<input type=\"email\" class=\"form-control\" id=\"email\" placeholder=\"Adresse email *\" value=\"{% if email is defined %}{{ email }} {% endif %}\"/>
<div class=\"alert alert-danger form-inline\">
         <i class=\"fas fa-lock-open\"></i> <b>Un code vous sera envoyé pour suivre et arreter votre charge</b>
 </div>


    


<div class=\"text-center mt-3 mb-3\">
    <button class=\"btn btn-primary\" id=\"payCharge\" data-bs-toggle=\"modal\" data-bs-target=\"#payModal\"><i class=\"fa-solid fa-credit-card\"></i> Payer </button>
    <button class=\"btn btn-primary\" id=\"startCharge\" disabled=\"disabled\"><i class=\"fa-solid fa-circle-play\"></i> Lancer la charge </button>
</div>


<!-- Modal -->
<div class=\"modal fade\" id=\"payModal\" tabindex=\"-1\" aria-labelledby=\"payModalLabel\" aria-hidden=\"true\" data-controller=\"stripe\">
    <div class=\"modal-dialog\">
        <div class=\"modal-content\">
            <form id=\"payment-form\">
                <div class=\"modal-header\">
                    <h1 class=\"modal-title fs-5\" id=\"exampleModalLabel\">Effectuez votre autorisation de paiement</h1>
                    <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"></button>
                </div>
                <div class=\"modal-body\">

                        <div id=\"payment-element\">
                            <!-- Elements will create form elements here -->
                            <i class=\"fa-solid fa-circle-notch fa-spin\"></i>Chargement
                        </div>
                        <div id=\"error-message\">
                            <!-- Display error message to your customers here -->
                        </div>
                </div>
                <div class=\"modal-footer\">
                    <button id=\"submit\" type=\"submit\" class=\"btn btn-primary\">Payer</button>
                    <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">Fermer</button>
                </div>
            </form>
        </div>
    </div>
</div>

", "borne/_borne_start.html.twig", "C:\\Users\\Administrator\\Desktop\\Qrcode_LODMI\\templates\\borne\\_borne_start.html.twig");
    }
}
