{% extends 'backoffice/base.html.twig' %}
{% block title %}{{ 'Register'|trans }}{% endblock %}

{% block body %}
    <h3 class="mb-3">{{ 'Register'|trans }}</h3>

    {{ form_errors(registrationForm) }}

    {{ form_start(registrationForm) }}
    {{ form_row(registrationForm.email) }}
    {{ form_row(registrationForm.plainPassword) }}

    <button type="submit" class="btn btn-primary">Register</button>
    <a href="{{ path('tvdt_login_login') }}" class="btn btn-link">{{ 'Already have an account? Log in'|trans }}</a>

    {{ form_end(registrationForm) }}
{% endblock %}
