var/cache/dev/twig/e8/e80f5f73208ce7b1e481468247d1410bc7f293a492475b7e2a9d6275a6e5a2d5.php line 40

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* security/register.html.twig */
  14. class __TwigTemplate_163b3386bf9fe1d7da16e69e6964ce522d34702876dced30fce47a4b7f7d3fd7 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'title' => [$this'block_title'],
  24.             'body' => [$this'block_body'],
  25.             'javascripts' => [$this'block_javascripts'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "base.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""security/register.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""security/register.html.twig"));
  40.         $this->parent $this->loadTemplate("base.html.twig""security/register.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.         
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  46.     }
  47.     // line 3
  48.     public function block_title($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  55.         // line 4
  56.         echo "\t";
  57.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("register"), "html"nulltrue);
  58.         echo "!
  59. ";
  60.         
  61.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  62.         
  63.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  64.     }
  65.     // line 7
  66.     public function block_body($context, array $blocks = [])
  67.     {
  68.         $macros $this->macros;
  69.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  70.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  71.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  72.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  73.         // line 8
  74.         echo "
  75. \t<main class=\"login-form  mt-4\">
  76. \t\t<div class=\"cotainer\">
  77. \t\t\t";
  78.         // line 11
  79.         if ((=== 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))) {
  80.             // line 12
  81.             echo "\t\t\t\t<div class=\"row justify-content-center\">
  82. \t\t\t\t\t<a href=";
  83.             // line 13
  84.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
  85.             echo " class=\"btn btn-link\">
  86. \t\t\t\t\t\t";
  87.             // line 14
  88.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Zurück zum Login"), "html"nulltrue);
  89.             echo "
  90. \t\t\t\t\t</a>
  91. \t\t\t\t</div>
  92. \t\t\t";
  93.         }
  94.         // line 18
  95.         echo "\t\t\t";
  96.         if ((!== 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))) {
  97.             // line 19
  98.             echo "\t\t\t\t<div class=\"row justify-content-center\">
  99. \t\t\t\t\t<div class=\"col-md-8\">
  100. \t\t\t\t\t\t<div class=\"card\">
  101. \t\t\t\t\t\t\t<div class=\"card-header\">
  102. \t\t\t\t\t\t\t\t<h1 class=\"h3 mb-3 font-weight-normal\">";
  103.             // line 23
  104.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("please_register"), "html"nulltrue);
  105.             echo "</h1>
  106. \t\t\t\t\t\t\t</div>
  107. \t\t\t\t\t\t\t\t<div class=\"alert alert-success\" role=\"alert\">
  108. \t\t\t\t\t\t\t\t";
  109.             // line 26
  110.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Do_you_have_a_FAK_number_?"), "html"nulltrue);
  111.             echo "
  112. \t\t\t\t\t\t\t\t<a href=";
  113.             // line 27
  114.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_check_faknumber_form");
  115.             echo " class=\"btn btn-success active btn-sm ml-2\" role=\"button\">
  116. \t\t\t\t\t\t\t\t\t\t";
  117.             // line 28
  118.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Register_with_FAK_number"), "html"nulltrue);
  119.             echo "
  120. \t\t\t\t\t\t\t\t  \t</a>
  121. \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\">
  122.                                         <i class=\"text-primary bi-info-circle\"></i>
  123.                                     </a>
  124. \t\t\t\t\t\t\t</div>
  125. \t\t\t\t\t\t\t
  126. \t\t\t\t\t\t\t<div class=\"card-body\">
  127. \t\t\t\t\t\t\t\t";
  128.             // line 36
  129.             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"]]);
  130.             echo "
  131. \t\t\t\t\t\t\t\t<div class=\"row\">
  132. \t\t\t\t\t\t\t\t\t";
  133.             // line 38
  134.             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"falsefalsefalse38), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "Salutation"]);
  135.             echo "
  136. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  137. \t\t\t\t\t\t\t\t\t\t";
  138.             // line 40
  139.             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"falsefalsefalse40), 'widget');
  140.             echo "
  141. \t\t\t\t\t\t\t\t\t</div>
  142. \t\t\t\t\t\t\t\t</div>
  143. \t\t\t\t\t\t\t\t<div class=\"row\">
  144. \t\t\t\t\t\t\t\t\t";
  145.             // line 44
  146.             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"falsefalsefalse44), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "email"]);
  147.             echo "
  148. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  149. \t\t\t\t\t\t\t\t\t\t";
  150.             // line 46
  151.             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"falsefalsefalse46), 'widget');
  152.             echo "
  153. \t\t\t\t\t\t\t\t\t</div>
  154. \t\t\t\t\t\t\t\t</div>
  155. \t\t\t\t\t\t\t\t<div class=\"row\">
  156. \t\t\t\t\t\t\t\t\t";
  157.             // line 50
  158.             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"falsefalsefalse50), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "firstname"]);
  159.             echo "
  160. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  161. \t\t\t\t\t\t\t\t\t\t";
  162.             // line 52
  163.             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"falsefalsefalse52), 'widget');
  164.             echo "
  165. \t\t\t\t\t\t\t\t\t</div>
  166. \t\t\t\t\t\t\t\t</div>
  167. \t\t\t\t\t\t\t\t<div class=\"row\">
  168. \t\t\t\t\t\t\t\t\t";
  169.             // line 56
  170.             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"falsefalsefalse56), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "lastname"]);
  171.             echo "
  172. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  173. \t\t\t\t\t\t\t\t\t\t";
  174.             // line 58
  175.             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"falsefalsefalse58), 'widget');
  176.             echo "
  177. \t\t\t\t\t\t\t\t\t</div>
  178. \t\t\t\t\t\t\t\t</div>
  179. \t\t\t\t\t\t\t\t<div class=\"row\">
  180. \t\t\t\t\t\t\t\t\t";
  181.             // line 62
  182.             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"falsefalsefalse62), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "birthdate"]);
  183.             echo "
  184. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  185. \t\t\t\t\t\t\t\t\t\t";
  186.             // line 64
  187.             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"falsefalsefalse64), 'widget');
  188.             echo "
  189. \t\t\t\t\t\t\t\t\t</div>
  190. \t\t\t\t\t\t\t\t</div>
  191. \t\t\t\t\t\t\t\t<div class=\"row\">
  192. \t\t\t\t\t\t\t\t\t";
  193.             // line 68
  194.             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"falsefalsefalse68), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "AHV"]);
  195.             echo "
  196. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  197. \t\t\t\t\t\t\t\t\t\t";
  198.             // line 70
  199.             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"falsefalsefalse70), 'widget');
  200.             echo "
  201. \t\t\t\t\t\t\t\t\t</div>
  202. \t\t\t\t\t\t\t\t\t<a data-toggle=\"tooltip\" title=\"<img src='/images/KK.jpg' />\" class=\"pt-3\">
  203. \t\t\t\t\t\t\t\t\t\t<i class=\"pb-8 text-primary bi bi-info-circle\"></i>
  204. \t\t\t\t\t\t\t\t\t</a>
  205. \t\t\t\t\t\t\t\t</div>
  206. \t\t\t\t\t\t\t\t<div class=\"row\">
  207. \t\t\t\t\t\t\t\t\t";
  208.             // line 79
  209.             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"falsefalsefalse79), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "address"]);
  210.             echo "
  211. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  212. \t\t\t\t\t\t\t\t\t\t";
  213.             // line 81
  214.             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"falsefalsefalse81), 'widget');
  215.             echo "
  216. \t\t\t\t\t\t\t\t\t</div>
  217. \t\t\t\t\t\t\t\t</div>
  218. \t\t\t\t\t\t\t\t<div class=\"row\">
  219. \t\t\t\t\t\t\t\t\t";
  220.             // line 85
  221.             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"falsefalsefalse85), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "zip"]);
  222.             echo "
  223. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  224. \t\t\t\t\t\t\t\t\t\t";
  225.             // line 87
  226.             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"falsefalsefalse87), 'widget');
  227.             echo "
  228. \t\t\t\t\t\t\t\t\t</div>
  229. \t\t\t\t\t\t\t\t</div>
  230. \t\t\t\t\t\t\t\t<div class=\"row\">
  231. \t\t\t\t\t\t\t\t\t";
  232.             // line 91
  233.             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"falsefalsefalse91), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "city"]);
  234.             echo "
  235. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  236. \t\t\t\t\t\t\t\t\t\t";
  237.             // line 93
  238.             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"falsefalsefalse93), 'widget');
  239.             echo "
  240. \t\t\t\t\t\t\t\t\t</div>
  241. \t\t\t\t\t\t\t\t</div>
  242. \t\t\t\t\t\t\t\t<div class=\"row\">
  243. \t\t\t\t\t\t\t\t\t";
  244.             // line 97
  245.             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"falsefalsefalse97), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "phone"]);
  246.             echo "
  247. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  248. \t\t\t\t\t\t\t\t\t\t";
  249.             // line 99
  250.             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"falsefalsefalse99), 'widget');
  251.             echo "
  252. \t\t\t\t\t\t\t\t\t</div>
  253. \t\t\t\t\t\t\t\t</div>
  254. \t\t\t\t\t\t\t\t<div class=\"row\">
  255. \t\t\t\t\t\t\t\t\t";
  256.             // line 103
  257.             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"falsefalsefalse103), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "password"]);
  258.             echo "
  259. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  260. \t\t\t\t\t\t\t\t\t\t";
  261.             // line 105
  262.             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"falsefalsefalse105), 'widget');
  263.             echo "
  264. \t\t\t\t\t\t\t\t\t</div>
  265. \t\t\t\t\t\t\t\t</div>
  266. \t\t\t\t\t\t\t\t<div class=\"row\">
  267. \t\t\t\t\t\t\t\t\t";
  268.             // line 109
  269.             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"falsefalsefalse109), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "PasswordConfirm"]);
  270.             echo "
  271. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  272. \t\t\t\t\t\t\t\t\t\t";
  273.             // line 111
  274.             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"falsefalsefalse111), 'widget');
  275.             echo "
  276. \t\t\t\t\t\t\t\t\t</div>
  277. \t\t\t\t\t\t\t\t</div>
  278. \t\t\t\t\t\t\t\t<div class=\"col-md-6 offset-md-4 text-white\">
  279. \t\t\t\t\t\t\t\t\t";
  280.             // line 115
  281.             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"falsefalsefalse115), 'widget', ["attr" => ["data-loading-text" => "Registering"]]);
  282.             echo "
  283. \t\t\t\t\t\t\t\t\t<a href=";
  284.             // line 116
  285.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
  286.             echo " class=\"btn btn-link\">
  287. \t\t\t\t\t\t\t\t\t\t";
  288.             // line 117
  289.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("back_to_login"), "html"nulltrue);
  290.             echo "
  291. \t\t\t\t\t\t\t\t\t</a>
  292. \t\t\t\t\t\t\t\t</div>
  293. \t\t\t\t\t\t\t\t";
  294.             // line 120
  295.             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');
  296.             echo "
  297. \t\t\t\t\t\t\t</div>
  298. \t\t\t\t\t\t</div>
  299. \t\t\t\t\t</div>
  300. \t\t\t\t</div>
  301. \t\t\t";
  302.         }
  303.         // line 126
  304.         echo "\t\t</div>
  305. \t</main>
  306. ";
  307.         
  308.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  309.         
  310.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  311.     }
  312.     // line 129
  313.     public function block_javascripts($context, array $blocks = [])
  314.     {
  315.         $macros $this->macros;
  316.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  317.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  318.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  319.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  320.         // line 130
  321.         echo "\t";
  322.         $this->displayParentBlock("javascripts"$context$blocks);
  323.         echo "
  324. \t";
  325.         // line 131
  326.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("formValidation");
  327.         echo "
  328.   <script>
  329.     document.addEventListener('DOMContentLoaded', function () {
  330.       const form = document.getElementById('register-form');
  331.       if (!form) return;
  332.       form.addEventListener('submit', function () {
  333.         if (typeof form.checkValidity === 'function' && !form.checkValidity()) return;
  334.         if (form.dataset.submitting === '1') return;
  335.         form.dataset.submitting = '1';
  336.         const submitBtn = form.querySelector('button[type=\"submit\"], input[type=\"submit\"]');
  337.         if (!submitBtn) return;
  338.         const btnRect = submitBtn.getBoundingClientRect();
  339.         if (submitBtn.tagName.toLowerCase() === 'button') {
  340.           submitBtn.style.width = btnRect.width + 'px'; 
  341.           submitBtn.innerHTML = '<span class=\"spinner-border spinner-border-sm align-middle\" role=\"status\" aria-hidden=\"true\"></span>';
  342.           submitBtn.setAttribute('aria-busy', 'true');
  343.           submitBtn.setAttribute('disabled', 'disabled');
  344.           return;
  345.         }
  346.         const spinnerBtn = document.createElement('button');
  347.         spinnerBtn.type = 'button';
  348.         spinnerBtn.className = submitBtn.className || 'btn btn-primary';
  349.         spinnerBtn.style.width = btnRect.width + 'px';
  350.         spinnerBtn.style.height = btnRect.height + 'px';
  351.         spinnerBtn.setAttribute('disabled', 'disabled');
  352.         spinnerBtn.setAttribute('aria-busy', 'true');
  353.         spinnerBtn.innerHTML = '<span class=\"spinner-border spinner-border-sm align-middle\" role=\"status\" aria-hidden=\"true\"></span>';
  354.         submitBtn.replaceWith(spinnerBtn);
  355.       });
  356.     });
  357.   </script>
  358. ";
  359.         
  360.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  361.         
  362.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  363.     }
  364.     public function getTemplateName()
  365.     {
  366.         return "security/register.html.twig";
  367.     }
  368.     public function isTraitable()
  369.     {
  370.         return false;
  371.     }
  372.     public function getDebugInfo()
  373.     {
  374.         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,);
  375.     }
  376.     public function getSourceContext()
  377.     {
  378.         return new Source("{% extends 'base.html.twig' %}
  379. {% block title %}
  380. \t{{ 'register'|trans }}!
  381. {% endblock %}
  382. {% block body %}
  383. \t<main class=\"login-form  mt-4\">
  384. \t\t<div class=\"cotainer\">
  385. \t\t\t{% if RegisterState == 1 %}
  386. \t\t\t\t<div class=\"row justify-content-center\">
  387. \t\t\t\t\t<a href={{ path('app_login') }} class=\"btn btn-link\">
  388. \t\t\t\t\t\t{{ 'Zurück zum Login'|trans }}
  389. \t\t\t\t\t</a>
  390. \t\t\t\t</div>
  391. \t\t\t{% endif %}
  392. \t\t\t{% if error != 0 %}
  393. \t\t\t\t<div class=\"row justify-content-center\">
  394. \t\t\t\t\t<div class=\"col-md-8\">
  395. \t\t\t\t\t\t<div class=\"card\">
  396. \t\t\t\t\t\t\t<div class=\"card-header\">
  397. \t\t\t\t\t\t\t\t<h1 class=\"h3 mb-3 font-weight-normal\">{{ 'please_register'|trans }}</h1>
  398. \t\t\t\t\t\t\t</div>
  399. \t\t\t\t\t\t\t\t<div class=\"alert alert-success\" role=\"alert\">
  400. \t\t\t\t\t\t\t\t{{'Do_you_have_a_FAK_number_?'|trans}}
  401. \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\">
  402. \t\t\t\t\t\t\t\t\t\t{{ 'Register_with_FAK_number'|trans }}
  403. \t\t\t\t\t\t\t\t  \t</a>
  404. \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\">
  405.                                         <i class=\"text-primary bi-info-circle\"></i>
  406.                                     </a>
  407. \t\t\t\t\t\t\t</div>
  408. \t\t\t\t\t\t\t
  409. \t\t\t\t\t\t\t<div class=\"card-body\">
  410. \t\t\t\t\t\t\t\t{{ form_start(form,{attr: {'class': 'needs-validation','novalidate': 'novalidate', id: 'register-form'}}) }}
  411. \t\t\t\t\t\t\t\t<div class=\"row\">
  412. \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'} }) }}
  413. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  414. \t\t\t\t\t\t\t\t\t\t{{ form_widget(form.Salutation) }}
  415. \t\t\t\t\t\t\t\t\t</div>
  416. \t\t\t\t\t\t\t\t</div>
  417. \t\t\t\t\t\t\t\t<div class=\"row\">
  418. \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'} }) }}
  419. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  420. \t\t\t\t\t\t\t\t\t\t{{ form_widget(form.Email) }}
  421. \t\t\t\t\t\t\t\t\t</div>
  422. \t\t\t\t\t\t\t\t</div>
  423. \t\t\t\t\t\t\t\t<div class=\"row\">
  424. \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'} }) }}
  425. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  426. \t\t\t\t\t\t\t\t\t\t{{ form_widget(form.Firstname) }}
  427. \t\t\t\t\t\t\t\t\t</div>
  428. \t\t\t\t\t\t\t\t</div>
  429. \t\t\t\t\t\t\t\t<div class=\"row\">
  430. \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'} }) }}
  431. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  432. \t\t\t\t\t\t\t\t\t\t{{ form_widget(form.Lastname) }}
  433. \t\t\t\t\t\t\t\t\t</div>
  434. \t\t\t\t\t\t\t\t</div>
  435. \t\t\t\t\t\t\t\t<div class=\"row\">
  436. \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'} }) }}
  437. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  438. \t\t\t\t\t\t\t\t\t\t{{ form_widget(form.Birthdate) }}
  439. \t\t\t\t\t\t\t\t\t</div>
  440. \t\t\t\t\t\t\t\t</div>
  441. \t\t\t\t\t\t\t\t<div class=\"row\">
  442. \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'} }) }}
  443. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  444. \t\t\t\t\t\t\t\t\t\t{{ form_widget(form.AHV) }}
  445. \t\t\t\t\t\t\t\t\t</div>
  446. \t\t\t\t\t\t\t\t\t<a data-toggle=\"tooltip\" title=\"<img src='/images/KK.jpg' />\" class=\"pt-3\">
  447. \t\t\t\t\t\t\t\t\t\t<i class=\"pb-8 text-primary bi bi-info-circle\"></i>
  448. \t\t\t\t\t\t\t\t\t</a>
  449. \t\t\t\t\t\t\t\t</div>
  450. \t\t\t\t\t\t\t\t<div class=\"row\">
  451. \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'} }) }}
  452. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  453. \t\t\t\t\t\t\t\t\t\t{{ form_widget(form.address) }}
  454. \t\t\t\t\t\t\t\t\t</div>
  455. \t\t\t\t\t\t\t\t</div>
  456. \t\t\t\t\t\t\t\t<div class=\"row\">
  457. \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'} }) }}
  458. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  459. \t\t\t\t\t\t\t\t\t\t{{ form_widget(form.zip) }}
  460. \t\t\t\t\t\t\t\t\t</div>
  461. \t\t\t\t\t\t\t\t</div>
  462. \t\t\t\t\t\t\t\t<div class=\"row\">
  463. \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'} }) }}
  464. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  465. \t\t\t\t\t\t\t\t\t\t{{ form_widget(form.city) }}
  466. \t\t\t\t\t\t\t\t\t</div>
  467. \t\t\t\t\t\t\t\t</div>
  468. \t\t\t\t\t\t\t\t<div class=\"row\">
  469. \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'} }) }}
  470. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  471. \t\t\t\t\t\t\t\t\t\t{{ form_widget(form.Phone) }}
  472. \t\t\t\t\t\t\t\t\t</div>
  473. \t\t\t\t\t\t\t\t</div>
  474. \t\t\t\t\t\t\t\t<div class=\"row\">
  475. \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'} }) }}
  476. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  477. \t\t\t\t\t\t\t\t\t\t{{ form_widget(form.Password) }}
  478. \t\t\t\t\t\t\t\t\t</div>
  479. \t\t\t\t\t\t\t\t</div>
  480. \t\t\t\t\t\t\t\t<div class=\"row\">
  481. \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'} }) }}
  482. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  483. \t\t\t\t\t\t\t\t\t\t{{ form_widget(form.PasswordConfirm) }}
  484. \t\t\t\t\t\t\t\t\t</div>
  485. \t\t\t\t\t\t\t\t</div>
  486. \t\t\t\t\t\t\t\t<div class=\"col-md-6 offset-md-4 text-white\">
  487. \t\t\t\t\t\t\t\t\t{{ form_widget(form.Submit, {'attr': {'data-loading-text': 'Registering'}}) }}
  488. \t\t\t\t\t\t\t\t\t<a href={{ path('app_login') }} class=\"btn btn-link\">
  489. \t\t\t\t\t\t\t\t\t\t{{ 'back_to_login'|trans }}
  490. \t\t\t\t\t\t\t\t\t</a>
  491. \t\t\t\t\t\t\t\t</div>
  492. \t\t\t\t\t\t\t\t{{ form_end(form) }}
  493. \t\t\t\t\t\t\t</div>
  494. \t\t\t\t\t\t</div>
  495. \t\t\t\t\t</div>
  496. \t\t\t\t</div>
  497. \t\t\t{% endif %}
  498. \t\t</div>
  499. \t</main>
  500. {% endblock %}
  501. {% block javascripts %}
  502. \t{{ parent() }}
  503. \t{{ encore_entry_script_tags('formValidation') }}
  504.   <script>
  505.     document.addEventListener('DOMContentLoaded', function () {
  506.       const form = document.getElementById('register-form');
  507.       if (!form) return;
  508.       form.addEventListener('submit', function () {
  509.         if (typeof form.checkValidity === 'function' && !form.checkValidity()) return;
  510.         if (form.dataset.submitting === '1') return;
  511.         form.dataset.submitting = '1';
  512.         const submitBtn = form.querySelector('button[type=\"submit\"], input[type=\"submit\"]');
  513.         if (!submitBtn) return;
  514.         const btnRect = submitBtn.getBoundingClientRect();
  515.         if (submitBtn.tagName.toLowerCase() === 'button') {
  516.           submitBtn.style.width = btnRect.width + 'px'; 
  517.           submitBtn.innerHTML = '<span class=\"spinner-border spinner-border-sm align-middle\" role=\"status\" aria-hidden=\"true\"></span>';
  518.           submitBtn.setAttribute('aria-busy', 'true');
  519.           submitBtn.setAttribute('disabled', 'disabled');
  520.           return;
  521.         }
  522.         const spinnerBtn = document.createElement('button');
  523.         spinnerBtn.type = 'button';
  524.         spinnerBtn.className = submitBtn.className || 'btn btn-primary';
  525.         spinnerBtn.style.width = btnRect.width + 'px';
  526.         spinnerBtn.style.height = btnRect.height + 'px';
  527.         spinnerBtn.setAttribute('disabled', 'disabled');
  528.         spinnerBtn.setAttribute('aria-busy', 'true');
  529.         spinnerBtn.innerHTML = '<span class=\"spinner-border spinner-border-sm align-middle\" role=\"status\" aria-hidden=\"true\"></span>';
  530.         submitBtn.replaceWith(spinnerBtn);
  531.       });
  532.     });
  533.   </script>
  534. {% endblock %}
  535. ""security/register.html.twig""/var/www/sulser.smt-web09b.swissmains.net/SMT_Sulser/sulser/templates/security/register.html.twig");
  536.     }
  537. }