templates/registration/register_teacher.html.twig line 1
{% extends 'base.html.twig' %}
{% block title %}Register{% endblock %}
{% block stylesheets %}
{{ parent() }}
<link rel="stylesheet" href="{{ asset('css/form/form_base.css') }}">
{% endblock %}
{% block body %}
<h1>Register</h1>
<div class="head">
<p>You are registering as a <strong>Teacher</strong></p>
<a href="{{ path('app_register') }}">Register as a student</a>
</div>
{{ form_start(registrationForm) }}
{{ form_row(registrationForm.firstname, {
label: 'Firstname : '
}) }}
{{ form_row(registrationForm.lastname, {
label: 'Lastname : '
}) }}
{{ form_row(registrationForm.email, {
label: 'Email : '
}) }}
{{ form_row(registrationForm.mainJobPlace, {
label: 'Main job place : '
}) }}
{{ form_row(registrationForm.educationalLevel, {
label: 'Education level : '
}) }}
{{ form_row(registrationForm.plainPassword, {
label: 'Password :'
}) }}
{{ form_row(registrationForm.agreeTerms) }}
<button type="submit" class="btn">Register</button>
{{ form_widget(registrationForm._token) }}
{{ form_errors(registrationForm) }}
{{ form_end(registrationForm) }}
{% endblock %}