templates/pages/auth/signup.html.twig line 1
{% extends "#{theme.getParameter('KT_THEME_LAYOUT_DIR')}/_auth.html.twig" %}
{% block page_title %}Signup{% endblock %}
{% block content %}
<!--begin::Form-->
<!--begin::Heading-->
<div class="text-center mb-11">
<!--begin::Title-->
<h1 class="text-dark fw-bolder mb-3">
Sign Up
</h1>
<!--end::Title-->
</div>
<!--begin::Heading-->
{{ form_start(registrationForm, {'attr': {'id': 'kt_sign_up_form'}}) }}
{% if not registrationForm.vars.valid %}
<div class="alert bg-light-danger d-flex align-items-center p-5 mb-10">
{{ theme.getIcon('information-5', 'fs-2hx text-danger me-4') | raw }}
<div class="d-flex flex-column">
<h4 class="fw-semibold">The following errors were noticed</h4>
{{ form_errors(registrationForm) }}
{{ form_errors(registrationForm.email) }}
{{ form_errors(registrationForm.plainPassword) }}
{{ form_errors(registrationForm.agreeTerms) }}
</div>
</div>
{% endif %}
<!--begin::Input group--->
<div class="fv-row mb-8">
<!--begin::Email-->
{{ form_widget(registrationForm.email, {'attr': {'class': 'form-control bg-transparent', 'autocomplete': 'off', 'placeholder': 'Email'}, }) }}
<!--end::Email-->
</div>
<!--begin::Input group-->
<div class="fv-row mb-8" data-kt-password-meter="true">
<!--begin::Wrapper-->
<div class="mb-1">
<!--begin::Input wrapper-->
<div class="position-relative mb-3">
{{ form_widget(registrationForm.plainPassword, {'attr': {'class': 'form-control bg-transparent', 'autocomplete': 'off', 'placeholder': 'Password'}, }) }}
<span class="btn btn-sm btn-icon position-absolute translate-middle top-50 end-0 me-n2" data-kt-password-meter-control="visibility">
<i class="bi bi-eye-slash fs-2"></i>
<i class="bi bi-eye fs-2 d-none"></i>
</span>
</div>
<!--end::Input wrapper-->
<!--begin::Meter-->
<div class="d-flex align-items-center mb-3" data-kt-password-meter-control="highlight">
<div class="flex-grow-1 bg-secondary bg-active-success rounded h-5px me-2"></div>
<div class="flex-grow-1 bg-secondary bg-active-success rounded h-5px me-2"></div>
<div class="flex-grow-1 bg-secondary bg-active-success rounded h-5px me-2"></div>
<div class="flex-grow-1 bg-secondary bg-active-success rounded h-5px"></div>
</div>
<!--end::Meter-->
</div>
<!--end::Wrapper-->
<!--begin::Hint-->
<div class="text-muted">
Use 8 or more characters with a mix of letters, numbers & symbols.
</div>
<!--end::Hint-->
</div>
<!--end::Input group--->
<!--end::Input group--->
<div class="fv-row mb-8">
<!--begin::Repeat Password-->
<input placeholder="Repeat Password" name="confirm-password" type="password" autocomplete="off" class="form-control bg-transparent"/>
<!--end::Repeat Password-->
</div>
<!--end::Input group--->
<!--begin::Accept-->
<div class="fv-row mb-8">
<label class="form-check form-check-inline">
{{ form_widget(registrationForm.agreeTerms, {'attr': {'class': 'form-check-input'}, }) }}
<span class="form-check-label fw-semibold text-gray-700 fs-base ms-1">
I Accept the <a href="#" class="ms-1 link-primary">Terms</a>
</span>
</label>
</div>
<!--end::Accept-->
<!--begin::Submit button-->
<div class="d-grid mb-10">
<button type="submit" id="kt_sign_up_submit" class="btn btn-primary">
{% include 'partials/general/_button-indicator.html.twig' with {label: 'Sign Up'} %}
</button>
</div>
<!--end::Submit button-->
<!--begin::Sign up-->
<div class="text-gray-500 text-center fw-semibold fs-6">
Already have an Account?
<a href="/signin" class="link-primary fw-semibold">
Sign in
</a>
</div>
<!--end::Sign up-->
<!--end::Form-->
{{ form_end(registrationForm) }}
{% endblock %}