{% extends 'base.html.twig' %}{% block title %}Registrierung{% endblock %}{% block content %}<div class="container-3xl my-5"><div class="row"><div class="col-12 mb-5"><div class="d-flex align-items-center justify-content-between"><h1 class="ornament-with-child">{{ 'register.page.headline'|resolve }}</h1><a href="{{ path('index') }}" class="d-block border px-3 text-reset text-decoration-none py-2 border-dark">Zurück</a></div></div><div class="col-12 col-md-6"><div class="p-5 bg-lightgrey"><h3 class="mb-4">{{ 'register.page.box.headline'|resolve }}</h3><div class="mb-4">{{ 'register.page.box.description'|resolve }}</div>{{ form_errors(registrationForm) }}{{ form_start(registrationForm) }}<div class="row"><div class="col-12 col-lg-6 d-flex flex-column">{{ form_label(registrationForm.firstname, 'Vorname *') }}{{ form_widget(registrationForm.firstname, { attr: { class: 'mb-3 p-2 border-0' } }) }}{{ form_errors(registrationForm.firstname) }}</div><div class="col-12 col-lg-6 d-flex flex-column">{{ form_label(registrationForm.lastname, 'Name *') }}{{ form_widget(registrationForm.lastname, { attr: { class: 'mb-3 p-2 border-0' } }) }}{{ form_errors(registrationForm.lastname) }}</div><div class="col-12 d-flex flex-column">{{ form_label(registrationForm.email, 'E-Mail *') }}{{ form_widget(registrationForm.email, { attr: { class: 'mb-3 p-2 border-0' } }) }}{{ form_errors(registrationForm.email) }}</div><div class="col-12 d-flex flex-column">{{ form_label(registrationForm.plainPassword, 'Passwort *') }}{{ form_widget(registrationForm.plainPassword, {label: 'Password',attr: { class: 'mb-3 p-2 border-0' }}) }}{{ form_errors(registrationForm.plainPassword) }}</div><div class="col-12 col-sm-6 d-flex flex-column">{{ form_label(registrationForm.addressBook.street, 'Straße *') }}{{ form_errors(registrationForm.addressBook.street) }}{{ form_widget(registrationForm.addressBook.street, { attr: { class: 'mb-3 p-2 border-0' } }) }}</div><div class="col-12 col-sm-6 d-flex flex-column">{{ form_label(registrationForm.addressBook.houseNumber, 'Hausnummer *') }}{{ form_errors(registrationForm.addressBook.houseNumber) }}{{ form_widget(registrationForm.addressBook.houseNumber, { attr: { class: 'mb-3 p-2 border-0' } }) }}</div><div class="col-12 col-sm-6 d-flex flex-column">{{ form_label(registrationForm.addressBook.zip, 'PLZ *') }}{{ form_errors(registrationForm.addressBook.zip) }}{{ form_widget(registrationForm.addressBook.zip, { attr: { class: 'mb-3 p-2 border-0' } }) }}</div><div class="col-12 col-sm-6 d-flex flex-column">{{ form_label(registrationForm.addressBook.city, 'Ort *') }}{{ form_errors(registrationForm.addressBook.city) }}{{ form_widget(registrationForm.addressBook.city, { attr: { class: 'mb-3 p-2 border-0' } }) }}</div><div class="col-12 col-sm-6 d-flex flex-column">{{ form_label(registrationForm.addressBook.phoneNumber, 'Telefon') }}{{ form_errors(registrationForm.addressBook.phoneNumber) }}{{ form_widget(registrationForm.addressBook.phoneNumber, { attr: { class: 'mb-3 p-2 border-0' } }) }}</div><div class="col-12 col-sm-6 d-flex flex-column">{{ form_label(registrationForm.addressBook.ikNumber, 'IK Nummer') }}{{ form_errors(registrationForm.addressBook.ikNumber) }}{{ form_widget(registrationForm.addressBook.ikNumber, { attr: { class: 'mb-3 p-2 border-0' } }) }}</div>{% if tenant.config.enableCustomerNumber %}<div class="col-12 col-sm-6 d-flex flex-column">{{ form_label(registrationForm.addressBook.customerNumber, 'Kundennummer') }}{{ form_errors(registrationForm.addressBook.customerNumber) }}{{ form_widget(registrationForm.addressBook.customerNumber, { attr: { class: 'mb-3 p-2 border-0' } }) }}</div>{% endif %}<div class="col-12 col-sm-6 d-flex flex-column">{{ form_label(registrationForm.addressBook.state, 'Bundesland') }}{{ form_errors(registrationForm.addressBook.state) }}{{ form_widget(registrationForm.addressBook.state, { attr: { class: 'mb-3 p-2 border-0' } }) }}</div><div class="col-12 d-block">{{ form_widget(registrationForm.agreeToTiInfos, { attr: { class: 'border border-dark mb-3 p-2' } }) }}{{ form_label(registrationForm.agreeToTiInfos) }}</div></div>{{ form_end(registrationForm) }}</div></div><div class="col-12 col-md-6 mt-5 mt-md-0">{{ 'register.page.description'|resolve }}</div></div></div>{% endblock %}