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 style="color: red">Register</h1>
  5. <div class="row">
  6.     <div class="col-2">
  7.         {{ form_start(registrationForm) }}
  8.         {{ form_row(registrationForm.firstName) }}
  9.         {{ form_row(registrationForm.lastName) }}
  10. {#        {{ form_row(registrationForm.mobile) }}#}
  11.         {{ form_row(registrationForm.email) }}
  12.         {{ form_row(registrationForm.plainPassword, {
  13.             label: 'Password'
  14.         }) }}
  15. {#        {{ form_row(registrationForm.agreeTerms) }}#}
  16.     </div>
  17. </div>
  18.         <button type="submit" class="btn btn-success btn-sm">Register</button>
  19.     {{ form_end(registrationForm) }}
  20.     <br>
  21.     <br>
  22.     <br>
  23.     <br>
  24.     <br>
  25. {% endblock %}