{% extends 'basic.html.twig' %}
{% block title %}Register{% endblock %}
{% block body %}
<div class="authentication-bg min-vh-100">
<div class="bg-overlay bg-white"></div>
<div class="container">
<div class="d-flex flex-column min-vh-100 px-3 pt-4">
<div class="row justify-content-center my-auto">
<div class="col-md-8 col-lg-6 col-xl-4">
<div class="text-center py-5">
<div class="mb-4 mb-md-5">
<a href="index.html" class="d-block auth-logo">
<img src="{{ asset('/assets/images/logo.png') }}" alt="" height="40" class="auth-logo-dark">
</a>
</div>
<div class="mb-4">
<h5 class="">Register Account</h5>
<p>Get your free Dashonic account now.</p>
</div>
{{ form_start(registrationForm) }}
{% for flash_error in app.flashes('verify_email_error') %}
<div class="alert alert-danger" role="alert">{{ flash_error }}</div>
{% endfor %}
<div class="form-floating form-floating-custom mb-3">
{{ form_widget(registrationForm.email, {'attr': {'class': 'form-control'}}) }}
<label for="input-email">Email</label>
<div class="form-floating-icon">
<i class="uil uil-envelope-alt"></i>
</div>
</div>
<div class="form-floating form-floating-custom mb-3">
{{ form_widget(registrationForm.plainPassword, {'attr': {'class': 'form-control'}}) }}
<label for="floatingPassword">Password</label>
<div class="form-floating-icon">
<i class="uil uil-padlock"></i>
</div>
</div>
<div class="text-start">
<p>{{ form_widget(registrationForm.agreeTerms, {'label': false}) }}
By registering you agree to the Dashonic <a href="#" class="text-decoration-underline">Terms of Use</a></p>
</div>
<div class="mt-3">
<button class="btn btn-info w-100" type="submit">Register</button>
</div>
{{ form_end(registrationForm) }}
<div class="mt-5 text-center">
<p>Already have an account ? <a href="{{ path('app_login') }}" class="fw-medium text-decoration-underline"> Signin </a></p>
</div>
</div>
</div><!-- end col -->
</div><!-- end row -->
<div class="row">
<div class="col-lg-12">
<div class="text-center text-muted p-4">
<p class="mb-0">© <script>document.write(new Date().getFullYear())</script> Dashonic. Crafted with <i class="mdi mdi-heart text-danger"></i> by Pichforest</p>
</div>
</div>
</div>
</div>
</div><!-- end container -->
</div>
{% endblock %}