<?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;
/* security/register.html.twig */
class __TwigTemplate_163b3386bf9fe1d7da16e69e6964ce522d34702876dced30fce47a4b7f7d3fd7 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'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$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", "security/register.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "security/register.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "security/register.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_title($context, array $blocks = [])
{
$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"));
// line 4
echo "\t";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("register"), "html", null, true);
echo "!
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 7
public function block_body($context, array $blocks = [])
{
$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 8
echo "
\t<main class=\"login-form mt-4\">
\t\t<div class=\"cotainer\">
\t\t\t";
// line 11
if ((0 === twig_compare((isset($context["RegisterState"]) || array_key_exists("RegisterState", $context) ? $context["RegisterState"] : (function () { throw new RuntimeError('Variable "RegisterState" does not exist.', 11, $this->source); })()), 1))) {
// line 12
echo "\t\t\t\t<div class=\"row justify-content-center\">
\t\t\t\t\t<a href=";
// line 13
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
echo " class=\"btn btn-link\">
\t\t\t\t\t\t";
// line 14
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Zurück zum Login"), "html", null, true);
echo "
\t\t\t\t\t</a>
\t\t\t\t</div>
\t\t\t";
}
// line 18
echo "\t\t\t";
if ((0 !== twig_compare((isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 18, $this->source); })()), 0))) {
// line 19
echo "\t\t\t\t<div class=\"row justify-content-center\">
\t\t\t\t\t<div class=\"col-md-8\">
\t\t\t\t\t\t<div class=\"card\">
\t\t\t\t\t\t\t<div class=\"card-header\">
\t\t\t\t\t\t\t\t<h1 class=\"h3 mb-3 font-weight-normal\">";
// line 23
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("please_register"), "html", null, true);
echo "</h1>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"alert alert-success\" role=\"alert\">
\t\t\t\t\t\t\t\t";
// line 26
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Do_you_have_a_FAK_number_?"), "html", null, true);
echo "
\t\t\t\t\t\t\t\t<a href=";
// line 27
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_check_faknumber_form");
echo " class=\"btn btn-success active btn-sm ml-2\" role=\"button\">
\t\t\t\t\t\t\t\t\t\t";
// line 28
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Register_with_FAK_number"), "html", null, true);
echo "
\t\t\t\t\t\t\t\t \t</a>
\t\t\t\t\t\t\t\t<a data-toggle=\"tooltip\" data-placement=\"bottom\" title=\"<img src='/images/fak.jpg'/>\" class=\"ml-2 pt-3\">
<i class=\"text-primary bi-info-circle\"></i>
</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t<div class=\"card-body\">
\t\t\t\t\t\t\t\t";
// line 36
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.', 36, $this->source); })()), 'form_start', ["attr" => ["class" => "needs-validation", "novalidate" => "novalidate", "id" => "register-form"]]);
echo "
\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t";
// line 38
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.', 38, $this->source); })()), "Salutation", [], "any", false, false, false, 38), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "Salutation"]);
echo "
\t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
\t\t\t\t\t\t\t\t\t\t";
// line 40
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.', 40, $this->source); })()), "Salutation", [], "any", false, false, false, 40), 'widget');
echo "
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t";
// line 44
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.', 44, $this->source); })()), "Email", [], "any", false, false, false, 44), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "email"]);
echo "
\t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
\t\t\t\t\t\t\t\t\t\t";
// line 46
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.', 46, $this->source); })()), "Email", [], "any", false, false, false, 46), 'widget');
echo "
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t";
// line 50
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.', 50, $this->source); })()), "Firstname", [], "any", false, false, false, 50), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "firstname"]);
echo "
\t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
\t\t\t\t\t\t\t\t\t\t";
// line 52
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.', 52, $this->source); })()), "Firstname", [], "any", false, false, false, 52), 'widget');
echo "
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t";
// line 56
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.', 56, $this->source); })()), "Lastname", [], "any", false, false, false, 56), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "lastname"]);
echo "
\t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
\t\t\t\t\t\t\t\t\t\t";
// line 58
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.', 58, $this->source); })()), "Lastname", [], "any", false, false, false, 58), 'widget');
echo "
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t";
// line 62
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.', 62, $this->source); })()), "Birthdate", [], "any", false, false, false, 62), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "birthdate"]);
echo "
\t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
\t\t\t\t\t\t\t\t\t\t";
// line 64
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.', 64, $this->source); })()), "Birthdate", [], "any", false, false, false, 64), 'widget');
echo "
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t";
// line 68
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.', 68, $this->source); })()), "AHV", [], "any", false, false, false, 68), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "AHV"]);
echo "
\t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
\t\t\t\t\t\t\t\t\t\t";
// line 70
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.', 70, $this->source); })()), "AHV", [], "any", false, false, false, 70), 'widget');
echo "
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<a data-toggle=\"tooltip\" title=\"<img src='/images/KK.jpg' />\" class=\"pt-3\">
\t\t\t\t\t\t\t\t\t\t<i class=\"pb-8 text-primary bi bi-info-circle\"></i>
\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t";
// line 79
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.', 79, $this->source); })()), "address", [], "any", false, false, false, 79), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "address"]);
echo "
\t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
\t\t\t\t\t\t\t\t\t\t";
// line 81
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.', 81, $this->source); })()), "address", [], "any", false, false, false, 81), 'widget');
echo "
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t";
// line 85
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.', 85, $this->source); })()), "zip", [], "any", false, false, false, 85), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "zip"]);
echo "
\t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
\t\t\t\t\t\t\t\t\t\t";
// line 87
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.', 87, $this->source); })()), "zip", [], "any", false, false, false, 87), 'widget');
echo "
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t";
// line 91
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.', 91, $this->source); })()), "city", [], "any", false, false, false, 91), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "city"]);
echo "
\t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
\t\t\t\t\t\t\t\t\t\t";
// line 93
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.', 93, $this->source); })()), "city", [], "any", false, false, false, 93), 'widget');
echo "
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t";
// line 97
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.', 97, $this->source); })()), "Phone", [], "any", false, false, false, 97), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "phone"]);
echo "
\t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
\t\t\t\t\t\t\t\t\t\t";
// line 99
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.', 99, $this->source); })()), "Phone", [], "any", false, false, false, 99), 'widget');
echo "
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t";
// line 103
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.', 103, $this->source); })()), "Password", [], "any", false, false, false, 103), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "password"]);
echo "
\t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
\t\t\t\t\t\t\t\t\t\t";
// line 105
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.', 105, $this->source); })()), "Password", [], "any", false, false, false, 105), 'widget');
echo "
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t";
// line 109
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.', 109, $this->source); })()), "PasswordConfirm", [], "any", false, false, false, 109), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "PasswordConfirm"]);
echo "
\t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
\t\t\t\t\t\t\t\t\t\t";
// line 111
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.', 111, $this->source); })()), "PasswordConfirm", [], "any", false, false, false, 111), 'widget');
echo "
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"col-md-6 offset-md-4 text-white\">
\t\t\t\t\t\t\t\t\t";
// line 115
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.', 115, $this->source); })()), "Submit", [], "any", false, false, false, 115), 'widget', ["attr" => ["data-loading-text" => "Registering"]]);
echo "
\t\t\t\t\t\t\t\t\t<a href=";
// line 116
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
echo " class=\"btn btn-link\">
\t\t\t\t\t\t\t\t\t\t";
// line 117
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("back_to_login"), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
// line 120
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.', 120, $this->source); })()), 'form_end');
echo "
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t";
}
// line 126
echo "\t\t</div>
\t</main>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 129
public function block_javascripts($context, array $blocks = [])
{
$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 130
echo "\t";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
\t";
// line 131
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("formValidation");
echo "
<script>
document.addEventListener('DOMContentLoaded', function () {
const form = document.getElementById('register-form');
if (!form) return;
form.addEventListener('submit', function () {
if (typeof form.checkValidity === 'function' && !form.checkValidity()) return;
if (form.dataset.submitting === '1') return;
form.dataset.submitting = '1';
const submitBtn = form.querySelector('button[type=\"submit\"], input[type=\"submit\"]');
if (!submitBtn) return;
const btnRect = submitBtn.getBoundingClientRect();
if (submitBtn.tagName.toLowerCase() === 'button') {
submitBtn.style.width = btnRect.width + 'px';
submitBtn.innerHTML = '<span class=\"spinner-border spinner-border-sm align-middle\" role=\"status\" aria-hidden=\"true\"></span>';
submitBtn.setAttribute('aria-busy', 'true');
submitBtn.setAttribute('disabled', 'disabled');
return;
}
const spinnerBtn = document.createElement('button');
spinnerBtn.type = 'button';
spinnerBtn.className = submitBtn.className || 'btn btn-primary';
spinnerBtn.style.width = btnRect.width + 'px';
spinnerBtn.style.height = btnRect.height + 'px';
spinnerBtn.setAttribute('disabled', 'disabled');
spinnerBtn.setAttribute('aria-busy', 'true');
spinnerBtn.innerHTML = '<span class=\"spinner-border spinner-border-sm align-middle\" role=\"status\" aria-hidden=\"true\"></span>';
submitBtn.replaceWith(spinnerBtn);
});
});
</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "security/register.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 352 => 131, 347 => 130, 337 => 129, 325 => 126, 316 => 120, 310 => 117, 306 => 116, 302 => 115, 295 => 111, 290 => 109, 283 => 105, 278 => 103, 271 => 99, 266 => 97, 259 => 93, 254 => 91, 247 => 87, 242 => 85, 235 => 81, 230 => 79, 218 => 70, 213 => 68, 206 => 64, 201 => 62, 194 => 58, 189 => 56, 182 => 52, 177 => 50, 170 => 46, 165 => 44, 158 => 40, 153 => 38, 148 => 36, 137 => 28, 133 => 27, 129 => 26, 123 => 23, 117 => 19, 114 => 18, 107 => 14, 103 => 13, 100 => 12, 98 => 11, 93 => 8, 83 => 7, 70 => 4, 60 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% block title %}
\t{{ 'register'|trans }}!
{% endblock %}
{% block body %}
\t<main class=\"login-form mt-4\">
\t\t<div class=\"cotainer\">
\t\t\t{% if RegisterState == 1 %}
\t\t\t\t<div class=\"row justify-content-center\">
\t\t\t\t\t<a href={{ path('app_login') }} class=\"btn btn-link\">
\t\t\t\t\t\t{{ 'Zurück zum Login'|trans }}
\t\t\t\t\t</a>
\t\t\t\t</div>
\t\t\t{% endif %}
\t\t\t{% if error != 0 %}
\t\t\t\t<div class=\"row justify-content-center\">
\t\t\t\t\t<div class=\"col-md-8\">
\t\t\t\t\t\t<div class=\"card\">
\t\t\t\t\t\t\t<div class=\"card-header\">
\t\t\t\t\t\t\t\t<h1 class=\"h3 mb-3 font-weight-normal\">{{ 'please_register'|trans }}</h1>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"alert alert-success\" role=\"alert\">
\t\t\t\t\t\t\t\t{{'Do_you_have_a_FAK_number_?'|trans}}
\t\t\t\t\t\t\t\t<a href={{ path('app_check_faknumber_form') }} class=\"btn btn-success active btn-sm ml-2\" role=\"button\">
\t\t\t\t\t\t\t\t\t\t{{ 'Register_with_FAK_number'|trans }}
\t\t\t\t\t\t\t\t \t</a>
\t\t\t\t\t\t\t\t<a data-toggle=\"tooltip\" data-placement=\"bottom\" title=\"<img src='/images/fak.jpg'/>\" class=\"ml-2 pt-3\">
<i class=\"text-primary bi-info-circle\"></i>
</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t<div class=\"card-body\">
\t\t\t\t\t\t\t\t{{ form_start(form,{attr: {'class': 'needs-validation','novalidate': 'novalidate', id: 'register-form'}}) }}
\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t{{ form_label(form.Salutation, 'Salutation', { 'label_attr': {'class': 'col-md-4 col-form-label text-md-right'} }) }}
\t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
\t\t\t\t\t\t\t\t\t\t{{ form_widget(form.Salutation) }}
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t{{ form_label(form.Email, 'email', { 'label_attr': {'class': 'col-md-4 col-form-label text-md-right'} }) }}
\t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
\t\t\t\t\t\t\t\t\t\t{{ form_widget(form.Email) }}
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t{{ form_label(form.Firstname, 'firstname', { 'label_attr': {'class': 'col-md-4 col-form-label text-md-right'} }) }}
\t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
\t\t\t\t\t\t\t\t\t\t{{ form_widget(form.Firstname) }}
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t{{ form_label(form.Lastname, 'lastname', { 'label_attr': {'class': 'col-md-4 col-form-label text-md-right'} }) }}
\t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
\t\t\t\t\t\t\t\t\t\t{{ form_widget(form.Lastname) }}
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t{{ form_label(form.Birthdate, 'birthdate', { 'label_attr': {'class': 'col-md-4 col-form-label text-md-right'} }) }}
\t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
\t\t\t\t\t\t\t\t\t\t{{ form_widget(form.Birthdate) }}
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t{{ form_label(form.AHV, 'AHV', { 'label_attr': {'class': 'col-md-4 col-form-label text-md-right'} }) }}
\t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
\t\t\t\t\t\t\t\t\t\t{{ form_widget(form.AHV) }}
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<a data-toggle=\"tooltip\" title=\"<img src='/images/KK.jpg' />\" class=\"pt-3\">
\t\t\t\t\t\t\t\t\t\t<i class=\"pb-8 text-primary bi bi-info-circle\"></i>
\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t{{ form_label(form.address, 'address', { 'label_attr': {'class': 'col-md-4 col-form-label text-md-right'} }) }}
\t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
\t\t\t\t\t\t\t\t\t\t{{ form_widget(form.address) }}
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t{{ form_label(form.zip, 'zip', { 'label_attr': {'class': 'col-md-4 col-form-label text-md-right'} }) }}
\t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
\t\t\t\t\t\t\t\t\t\t{{ form_widget(form.zip) }}
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t{{ form_label(form.city, 'city', { 'label_attr': {'class': 'col-md-4 col-form-label text-md-right'} }) }}
\t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
\t\t\t\t\t\t\t\t\t\t{{ form_widget(form.city) }}
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t{{ form_label(form.Phone, 'phone', { 'label_attr': {'class': 'col-md-4 col-form-label text-md-right'} }) }}
\t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
\t\t\t\t\t\t\t\t\t\t{{ form_widget(form.Phone) }}
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t{{ form_label(form.Password, 'password', { 'label_attr': {'class': 'col-md-4 col-form-label text-md-right'} }) }}
\t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
\t\t\t\t\t\t\t\t\t\t{{ form_widget(form.Password) }}
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t\t{{ form_label(form.PasswordConfirm, 'PasswordConfirm', { 'label_attr': {'class': 'col-md-4 col-form-label text-md-right'} }) }}
\t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
\t\t\t\t\t\t\t\t\t\t{{ form_widget(form.PasswordConfirm) }}
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t<div class=\"col-md-6 offset-md-4 text-white\">
\t\t\t\t\t\t\t\t\t{{ form_widget(form.Submit, {'attr': {'data-loading-text': 'Registering'}}) }}
\t\t\t\t\t\t\t\t\t<a href={{ path('app_login') }} class=\"btn btn-link\">
\t\t\t\t\t\t\t\t\t\t{{ 'back_to_login'|trans }}
\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t{{ form_end(form) }}
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t{% endif %}
\t\t</div>
\t</main>
{% endblock %}
{% block javascripts %}
\t{{ parent() }}
\t{{ encore_entry_script_tags('formValidation') }}
<script>
document.addEventListener('DOMContentLoaded', function () {
const form = document.getElementById('register-form');
if (!form) return;
form.addEventListener('submit', function () {
if (typeof form.checkValidity === 'function' && !form.checkValidity()) return;
if (form.dataset.submitting === '1') return;
form.dataset.submitting = '1';
const submitBtn = form.querySelector('button[type=\"submit\"], input[type=\"submit\"]');
if (!submitBtn) return;
const btnRect = submitBtn.getBoundingClientRect();
if (submitBtn.tagName.toLowerCase() === 'button') {
submitBtn.style.width = btnRect.width + 'px';
submitBtn.innerHTML = '<span class=\"spinner-border spinner-border-sm align-middle\" role=\"status\" aria-hidden=\"true\"></span>';
submitBtn.setAttribute('aria-busy', 'true');
submitBtn.setAttribute('disabled', 'disabled');
return;
}
const spinnerBtn = document.createElement('button');
spinnerBtn.type = 'button';
spinnerBtn.className = submitBtn.className || 'btn btn-primary';
spinnerBtn.style.width = btnRect.width + 'px';
spinnerBtn.style.height = btnRect.height + 'px';
spinnerBtn.setAttribute('disabled', 'disabled');
spinnerBtn.setAttribute('aria-busy', 'true');
spinnerBtn.innerHTML = '<span class=\"spinner-border spinner-border-sm align-middle\" role=\"status\" aria-hidden=\"true\"></span>';
submitBtn.replaceWith(spinnerBtn);
});
});
</script>
{% endblock %}
", "security/register.html.twig", "/var/www/sulser.smt-web09b.swissmains.net/SMT_Sulser/sulser/templates/security/register.html.twig");
}
}