templates/registration/register.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}Register{% endblock %}
  3. {% block body %}
  4.     <h1>Register</h1>
  5.     {{ form_start(registrationForm) }}
  6.         {{ form_row(registrationForm.email) }}
  7.         {{ form_row(registrationForm.plainPassword, {
  8.             label: 'Password'
  9.         }) }}
  10.         {{ form_row(registrationForm.firstname) }}
  11.         {{ form_row(registrationForm.lastname) }}
  12.         <button type="submit" class="btn">Register</button>
  13.     {{ form_end(registrationForm) }}
  14. {% endblock %}