var/cache/dev/twig/85/852d0b9e158a655aab9ecce0a3da399d.php line 128

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\MacroNamespace;
  8. use Twig\Markup;
  9. use Twig\Sandbox\SecurityError;
  10. use Twig\Sandbox\SecurityNotAllowedTagError;
  11. use Twig\Sandbox\SecurityNotAllowedFilterError;
  12. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  13. use Twig\Sandbox\SecurityNotAllowedTestError;
  14. use Twig\Source;
  15. use Twig\Template;
  16. use Twig\TemplateWrapper;
  17. /* security/registration/register.html.twig */
  18. class __TwigTemplate_013ed5a05d7a176db65e92ab68907ea8 extends Template
  19. {
  20. private Source $source;
  21. /**
  22. * @var array<string, MacroNamespace>
  23. */
  24. private array $macros = [];
  25. public function __construct(Environment $env)
  26. {
  27. parent::__construct($env);
  28. $this->source = $this->getSourceContext();
  29. $this->blocks = [
  30. 'title' => [$this, 'block_title'],
  31. 'content' => [$this, 'block_content'],
  32. ];
  33. }
  34. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  35. {
  36. // line 1
  37. return $this->parent ??= $this->load("base.html.twig", 1);
  38. }
  39. protected function doDisplay(array $context, array $blocks = []): iterable
  40. {
  41. $macros = $this->macros;
  42. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  43. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "security/registration/register.html.twig"));
  44. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  45. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "security/registration/register.html.twig"));
  46. $this->parent = $this->load("base.html.twig", 1);
  47. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  48. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  49. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50. }
  51. // line 3
  52. /**
  53. * @return iterable<null|scalar|\Stringable>
  54. */
  55. public function block_title(array $context, array $blocks = []): iterable
  56. {
  57. $macros = $this->macros;
  58. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  59. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  60. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  61. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  62. yield "Registrierung";
  63. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  64. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  65. return; yield;
  66. }
  67. // line 5
  68. /**
  69. * @return iterable<null|scalar|\Stringable>
  70. */
  71. public function block_content(array $context, array $blocks = []): iterable
  72. {
  73. $macros = $this->macros;
  74. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  75. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  76. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  77. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  78. // line 6
  79. yield "<div class=\"container-3xl my-5\">
  80. <div class=\"row\">
  81. <div class=\"col-12 mb-5\">
  82. <div class=\"d-flex align-items-center justify-content-between\">
  83. <h1 class=\"ornament-with-child\">";
  84. // line 10
  85. yield (string) $this->env->getRuntime('App\Twig\TextResolverRuntime')->resolve("register.page.headline");
  86. yield "</h1>
  87. <a href=\"";
  88. // line 11
  89. yield (string) $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("index");
  90. yield "\" class=\"d-block border px-3 text-reset text-decoration-none py-2 border-dark\">Zurück</a>
  91. </div>
  92. </div>
  93. <div class=\"col-12 col-md-6\">
  94. <div class=\"p-5 bg-lightgrey\">
  95. <h3 class=\"mb-4\">";
  96. // line 16
  97. yield (string) $this->env->getRuntime('App\Twig\TextResolverRuntime')->resolve("register.page.box.headline");
  98. yield "</h3>
  99. <div class=\"mb-4\">";
  100. // line 17
  101. yield (string) $this->env->getRuntime('App\Twig\TextResolverRuntime')->resolve("register.page.box.description");
  102. yield "</div>
  103. ";
  104. // line 18
  105. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 18, $this->source); })()), 'errors');
  106. yield "
  107. ";
  108. // line 19
  109. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 19, $this->source); })()), 'form_start');
  110. yield "
  111. <div class=\"row\">
  112. <div class=\"col-12 col-lg-6 d-flex flex-column\">
  113. ";
  114. // line 22
  115. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 22, $this->source); })()), "firstname", [], "any", false, false, false, 22), 'label', ["label" => "Vorname *"]);
  116. yield "
  117. ";
  118. // line 23
  119. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 23, $this->source); })()), "firstname", [], "any", false, false, false, 23), 'widget', ["attr" => ["class" => "mb-3 p-2 border-0"]]);
  120. yield "
  121. ";
  122. // line 24
  123. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 24, $this->source); })()), "firstname", [], "any", false, false, false, 24), 'errors');
  124. yield "
  125. </div>
  126. <div class=\"col-12 col-lg-6 d-flex flex-column\">
  127. ";
  128. // line 27
  129. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 27, $this->source); })()), "lastname", [], "any", false, false, false, 27), 'label', ["label" => "Name *"]);
  130. yield "
  131. ";
  132. // line 28
  133. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 28, $this->source); })()), "lastname", [], "any", false, false, false, 28), 'widget', ["attr" => ["class" => "mb-3 p-2 border-0"]]);
  134. yield "
  135. ";
  136. // line 29
  137. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 29, $this->source); })()), "lastname", [], "any", false, false, false, 29), 'errors');
  138. yield "
  139. </div>
  140. <div class=\"col-12 d-flex flex-column\">
  141. ";
  142. // line 32
  143. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 32, $this->source); })()), "email", [], "any", false, false, false, 32), 'label', ["label" => "E-Mail *"]);
  144. yield "
  145. ";
  146. // line 33
  147. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 33, $this->source); })()), "email", [], "any", false, false, false, 33), 'widget', ["attr" => ["class" => "mb-3 p-2 border-0"]]);
  148. yield "
  149. ";
  150. // line 34
  151. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 34, $this->source); })()), "email", [], "any", false, false, false, 34), 'errors');
  152. yield "
  153. </div>
  154. <div class=\"col-12 d-flex flex-column\">
  155. ";
  156. // line 37
  157. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 37, $this->source); })()), "plainPassword", [], "any", false, false, false, 37), 'label', ["label" => "Passwort *"]);
  158. yield "
  159. ";
  160. // line 38
  161. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 38, $this->source); })()), "plainPassword", [], "any", false, false, false, 38), 'widget', ["label" => "Password", "attr" => ["class" => "mb-3 p-2 border-0"]]);
  162. // line 41
  163. yield "
  164. ";
  165. // line 42
  166. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 42, $this->source); })()), "plainPassword", [], "any", false, false, false, 42), 'errors');
  167. yield "
  168. </div>
  169. <div class=\"col-12 col-sm-6 d-flex flex-column\">
  170. ";
  171. // line 45
  172. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 45, $this->source); })()), "addressBook", [], "any", false, false, false, 45), "street", [], "any", false, false, false, 45), 'label', ["label" => "Straße *"]);
  173. yield "
  174. ";
  175. // line 46
  176. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 46, $this->source); })()), "addressBook", [], "any", false, false, false, 46), "street", [], "any", false, false, false, 46), 'errors');
  177. yield "
  178. ";
  179. // line 47
  180. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 47, $this->source); })()), "addressBook", [], "any", false, false, false, 47), "street", [], "any", false, false, false, 47), 'widget', ["attr" => ["class" => "mb-3 p-2 border-0"]]);
  181. yield "
  182. </div>
  183. <div class=\"col-12 col-sm-6 d-flex flex-column\">
  184. ";
  185. // line 50
  186. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 50, $this->source); })()), "addressBook", [], "any", false, false, false, 50), "houseNumber", [], "any", false, false, false, 50), 'label', ["label" => "Hausnummer *"]);
  187. yield "
  188. ";
  189. // line 51
  190. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 51, $this->source); })()), "addressBook", [], "any", false, false, false, 51), "houseNumber", [], "any", false, false, false, 51), 'errors');
  191. yield "
  192. ";
  193. // line 52
  194. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 52, $this->source); })()), "addressBook", [], "any", false, false, false, 52), "houseNumber", [], "any", false, false, false, 52), 'widget', ["attr" => ["class" => "mb-3 p-2 border-0"]]);
  195. yield "
  196. </div>
  197. <div class=\"col-12 col-sm-6 d-flex flex-column\">
  198. ";
  199. // line 56
  200. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 56, $this->source); })()), "addressBook", [], "any", false, false, false, 56), "zip", [], "any", false, false, false, 56), 'label', ["label" => "PLZ *"]);
  201. yield "
  202. ";
  203. // line 57
  204. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 57, $this->source); })()), "addressBook", [], "any", false, false, false, 57), "zip", [], "any", false, false, false, 57), 'errors');
  205. yield "
  206. ";
  207. // line 58
  208. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 58, $this->source); })()), "addressBook", [], "any", false, false, false, 58), "zip", [], "any", false, false, false, 58), 'widget', ["attr" => ["class" => "mb-3 p-2 border-0"]]);
  209. yield "
  210. </div>
  211. <div class=\"col-12 col-sm-6 d-flex flex-column\">
  212. ";
  213. // line 61
  214. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 61, $this->source); })()), "addressBook", [], "any", false, false, false, 61), "city", [], "any", false, false, false, 61), 'label', ["label" => "Ort *"]);
  215. yield "
  216. ";
  217. // line 62
  218. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 62, $this->source); })()), "addressBook", [], "any", false, false, false, 62), "city", [], "any", false, false, false, 62), 'errors');
  219. yield "
  220. ";
  221. // line 63
  222. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 63, $this->source); })()), "addressBook", [], "any", false, false, false, 63), "city", [], "any", false, false, false, 63), 'widget', ["attr" => ["class" => "mb-3 p-2 border-0"]]);
  223. yield "
  224. </div>
  225. <div class=\"col-12 col-sm-6 d-flex flex-column\">
  226. ";
  227. // line 67
  228. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 67, $this->source); })()), "addressBook", [], "any", false, false, false, 67), "phoneNumber", [], "any", false, false, false, 67), 'label', ["label" => "Telefon"]);
  229. yield "
  230. ";
  231. // line 68
  232. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 68, $this->source); })()), "addressBook", [], "any", false, false, false, 68), "phoneNumber", [], "any", false, false, false, 68), 'errors');
  233. yield "
  234. ";
  235. // line 69
  236. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 69, $this->source); })()), "addressBook", [], "any", false, false, false, 69), "phoneNumber", [], "any", false, false, false, 69), 'widget', ["attr" => ["class" => "mb-3 p-2 border-0"]]);
  237. yield "
  238. </div>
  239. <div class=\"col-12 col-sm-6 d-flex flex-column\">
  240. ";
  241. // line 73
  242. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 73, $this->source); })()), "addressBook", [], "any", false, false, false, 73), "ikNumber", [], "any", false, false, false, 73), 'label', ["label" => "IK Nummer"]);
  243. yield "
  244. ";
  245. // line 74
  246. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 74, $this->source); })()), "addressBook", [], "any", false, false, false, 74), "ikNumber", [], "any", false, false, false, 74), 'errors');
  247. yield "
  248. ";
  249. // line 75
  250. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 75, $this->source); })()), "addressBook", [], "any", false, false, false, 75), "ikNumber", [], "any", false, false, false, 75), 'widget', ["attr" => ["class" => "mb-3 p-2 border-0"]]);
  251. yield "
  252. </div>
  253. ";
  254. // line 78
  255. if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["tenant"]) || array_key_exists("tenant", $context) ? $context["tenant"] : (function () { throw new RuntimeError('Variable "tenant" does not exist.', 78, $this->source); })()), "config", [], "any", false, false, false, 78), "enableCustomerNumber", [], "any", false, false, false, 78)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  256. // line 79
  257. yield " <div class=\"col-12 col-sm-6 d-flex flex-column\">
  258. ";
  259. // line 80
  260. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 80, $this->source); })()), "addressBook", [], "any", false, false, false, 80), "customerNumber", [], "any", false, false, false, 80), 'label', ["label" => "Kundennummer"]);
  261. yield "
  262. ";
  263. // line 81
  264. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 81, $this->source); })()), "addressBook", [], "any", false, false, false, 81), "customerNumber", [], "any", false, false, false, 81), 'errors');
  265. yield "
  266. ";
  267. // line 82
  268. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 82, $this->source); })()), "addressBook", [], "any", false, false, false, 82), "customerNumber", [], "any", false, false, false, 82), 'widget', ["attr" => ["class" => "mb-3 p-2 border-0"]]);
  269. yield "
  270. </div>
  271. ";
  272. }
  273. // line 85
  274. yield "
  275. <div class=\"col-12 col-sm-6 d-flex flex-column\">
  276. ";
  277. // line 87
  278. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 87, $this->source); })()), "addressBook", [], "any", false, false, false, 87), "state", [], "any", false, false, false, 87), 'label', ["label" => "Bundesland"]);
  279. yield "
  280. ";
  281. // line 88
  282. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 88, $this->source); })()), "addressBook", [], "any", false, false, false, 88), "state", [], "any", false, false, false, 88), 'errors');
  283. yield "
  284. ";
  285. // line 89
  286. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 89, $this->source); })()), "addressBook", [], "any", false, false, false, 89), "state", [], "any", false, false, false, 89), 'widget', ["attr" => ["class" => "mb-3 p-2 border-0"]]);
  287. yield "
  288. </div>
  289. <div class=\"col-12 d-block\">
  290. ";
  291. // line 92
  292. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 92, $this->source); })()), "agreeToTiInfos", [], "any", false, false, false, 92), 'widget', ["attr" => ["class" => "border border-dark mb-3 p-2"]]);
  293. yield "
  294. ";
  295. // line 93
  296. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 93, $this->source); })()), "agreeToTiInfos", [], "any", false, false, false, 93), 'label');
  297. yield "
  298. </div>
  299. </div>
  300. ";
  301. // line 96
  302. yield (string) $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["registrationForm"]) || array_key_exists("registrationForm", $context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.', 96, $this->source); })()), 'form_end');
  303. yield "
  304. </div>
  305. </div>
  306. <div class=\"col-12 col-md-6 mt-5 mt-md-0\">
  307. ";
  308. // line 100
  309. yield (string) $this->env->getRuntime('App\Twig\TextResolverRuntime')->resolve("register.page.description");
  310. yield "
  311. </div>
  312. </div>
  313. </div>
  314. ";
  315. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  316. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  317. return; yield;
  318. }
  319. /**
  320. * @codeCoverageIgnore
  321. */
  322. public function getTemplateName(): string
  323. {
  324. return "security/registration/register.html.twig";
  325. }
  326. /**
  327. * @codeCoverageIgnore
  328. */
  329. public function isTraitable(): bool
  330. {
  331. return false;
  332. }
  333. /**
  334. * @codeCoverageIgnore
  335. */
  336. public function getDefaultEscapeStrategy(): string|false
  337. {
  338. return "html";
  339. }
  340. /**
  341. * @codeCoverageIgnore
  342. */
  343. public function getDebugInfo(): array
  344. {
  345. return array ( 336 => 100, 329 => 96, 323 => 93, 319 => 92, 313 => 89, 309 => 88, 305 => 87, 301 => 85, 295 => 82, 291 => 81, 287 => 80, 284 => 79, 282 => 78, 276 => 75, 272 => 74, 268 => 73, 261 => 69, 257 => 68, 253 => 67, 246 => 63, 242 => 62, 238 => 61, 232 => 58, 228 => 57, 224 => 56, 217 => 52, 213 => 51, 209 => 50, 203 => 47, 199 => 46, 195 => 45, 189 => 42, 186 => 41, 184 => 38, 180 => 37, 174 => 34, 170 => 33, 166 => 32, 160 => 29, 156 => 28, 152 => 27, 146 => 24, 142 => 23, 138 => 22, 132 => 19, 128 => 18, 124 => 17, 120 => 16, 112 => 11, 108 => 10, 102 => 6, 89 => 5, 66 => 3, 43 => 1,);
  346. }
  347. public function getSourceContext(): Source
  348. {
  349. return new Source("{% extends \x27base.html.twig\x27 %}
  350. {% block title %}Registrierung{% endblock %}
  351. {% block content %}
  352. <div class=\"container-3xl my-5\">
  353. <div class=\"row\">
  354. <div class=\"col-12 mb-5\">
  355. <div class=\"d-flex align-items-center justify-content-between\">
  356. <h1 class=\"ornament-with-child\">{{ \x27register.page.headline\x27|resolve }}</h1>
  357. <a href=\"{{ path(\x27index\x27) }}\" class=\"d-block border px-3 text-reset text-decoration-none py-2 border-dark\">Zurück</a>
  358. </div>
  359. </div>
  360. <div class=\"col-12 col-md-6\">
  361. <div class=\"p-5 bg-lightgrey\">
  362. <h3 class=\"mb-4\">{{ \x27register.page.box.headline\x27|resolve }}</h3>
  363. <div class=\"mb-4\">{{ \x27register.page.box.description\x27|resolve }}</div>
  364. {{ form_errors(registrationForm) }}
  365. {{ form_start(registrationForm) }}
  366. <div class=\"row\">
  367. <div class=\"col-12 col-lg-6 d-flex flex-column\">
  368. {{ form_label(registrationForm.firstname, \x27Vorname *\x27) }}
  369. {{ form_widget(registrationForm.firstname, { attr: { class: \x27mb-3 p-2 border-0\x27 } }) }}
  370. {{ form_errors(registrationForm.firstname) }}
  371. </div>
  372. <div class=\"col-12 col-lg-6 d-flex flex-column\">
  373. {{ form_label(registrationForm.lastname, \x27Name *\x27) }}
  374. {{ form_widget(registrationForm.lastname, { attr: { class: \x27mb-3 p-2 border-0\x27 } }) }}
  375. {{ form_errors(registrationForm.lastname) }}
  376. </div>
  377. <div class=\"col-12 d-flex flex-column\">
  378. {{ form_label(registrationForm.email, \x27E-Mail *\x27) }}
  379. {{ form_widget(registrationForm.email, { attr: { class: \x27mb-3 p-2 border-0\x27 } }) }}
  380. {{ form_errors(registrationForm.email) }}
  381. </div>
  382. <div class=\"col-12 d-flex flex-column\">
  383. {{ form_label(registrationForm.plainPassword, \x27Passwort *\x27) }}
  384. {{ form_widget(registrationForm.plainPassword, {
  385. label: \x27Password\x27,
  386. attr: { class: \x27mb-3 p-2 border-0\x27 }
  387. }) }}
  388. {{ form_errors(registrationForm.plainPassword) }}
  389. </div>
  390. <div class=\"col-12 col-sm-6 d-flex flex-column\">
  391. {{ form_label(registrationForm.addressBook.street, \x27Straße *\x27) }}
  392. {{ form_errors(registrationForm.addressBook.street) }}
  393. {{ form_widget(registrationForm.addressBook.street, { attr: { class: \x27mb-3 p-2 border-0\x27 } }) }}
  394. </div>
  395. <div class=\"col-12 col-sm-6 d-flex flex-column\">
  396. {{ form_label(registrationForm.addressBook.houseNumber, \x27Hausnummer *\x27) }}
  397. {{ form_errors(registrationForm.addressBook.houseNumber) }}
  398. {{ form_widget(registrationForm.addressBook.houseNumber, { attr: { class: \x27mb-3 p-2 border-0\x27 } }) }}
  399. </div>
  400. <div class=\"col-12 col-sm-6 d-flex flex-column\">
  401. {{ form_label(registrationForm.addressBook.zip, \x27PLZ *\x27) }}
  402. {{ form_errors(registrationForm.addressBook.zip) }}
  403. {{ form_widget(registrationForm.addressBook.zip, { attr: { class: \x27mb-3 p-2 border-0\x27 } }) }}
  404. </div>
  405. <div class=\"col-12 col-sm-6 d-flex flex-column\">
  406. {{ form_label(registrationForm.addressBook.city, \x27Ort *\x27) }}
  407. {{ form_errors(registrationForm.addressBook.city) }}
  408. {{ form_widget(registrationForm.addressBook.city, { attr: { class: \x27mb-3 p-2 border-0\x27 } }) }}
  409. </div>
  410. <div class=\"col-12 col-sm-6 d-flex flex-column\">
  411. {{ form_label(registrationForm.addressBook.phoneNumber, \x27Telefon\x27) }}
  412. {{ form_errors(registrationForm.addressBook.phoneNumber) }}
  413. {{ form_widget(registrationForm.addressBook.phoneNumber, { attr: { class: \x27mb-3 p-2 border-0\x27 } }) }}
  414. </div>
  415. <div class=\"col-12 col-sm-6 d-flex flex-column\">
  416. {{ form_label(registrationForm.addressBook.ikNumber, \x27IK Nummer\x27) }}
  417. {{ form_errors(registrationForm.addressBook.ikNumber) }}
  418. {{ form_widget(registrationForm.addressBook.ikNumber, { attr: { class: \x27mb-3 p-2 border-0\x27 } }) }}
  419. </div>
  420. {% if tenant.config.enableCustomerNumber %}
  421. <div class=\"col-12 col-sm-6 d-flex flex-column\">
  422. {{ form_label(registrationForm.addressBook.customerNumber, \x27Kundennummer\x27) }}
  423. {{ form_errors(registrationForm.addressBook.customerNumber) }}
  424. {{ form_widget(registrationForm.addressBook.customerNumber, { attr: { class: \x27mb-3 p-2 border-0\x27 } }) }}
  425. </div>
  426. {% endif %}
  427. <div class=\"col-12 col-sm-6 d-flex flex-column\">
  428. {{ form_label(registrationForm.addressBook.state, \x27Bundesland\x27) }}
  429. {{ form_errors(registrationForm.addressBook.state) }}
  430. {{ form_widget(registrationForm.addressBook.state, { attr: { class: \x27mb-3 p-2 border-0\x27 } }) }}
  431. </div>
  432. <div class=\"col-12 d-block\">
  433. {{ form_widget(registrationForm.agreeToTiInfos, { attr: { class: \x27border border-dark mb-3 p-2\x27 } }) }}
  434. {{ form_label(registrationForm.agreeToTiInfos) }}
  435. </div>
  436. </div>
  437. {{ form_end(registrationForm) }}
  438. </div>
  439. </div>
  440. <div class=\"col-12 col-md-6 mt-5 mt-md-0\">
  441. {{ \x27register.page.description\x27|resolve }}
  442. </div>
  443. </div>
  444. </div>
  445. {% endblock %}
  446. ", "security/registration/register.html.twig", "/srv/storefront/templates/security/registration/register.html.twig");
  447. }
  448. }