]>
Commit | Line | Data |
---|---|---|
0a878469 NL |
1 | {% trans_default_domain 'FOSUserBundle' %} |
2 | ||
5c895a7f | 3 | {{ form_start(form, {'method': 'post', 'action': path('fos_user_registration_register'), 'attr': {'class': 'fos_user_registration_register'}}) }} |
0a878469 | 4 | <div class="card-content"> |
ec3ce598 | 5 | <div class="row"> |
ec3ce598 NL |
6 | {{ form_widget(form._token) }} |
7 | ||
8 | {% for flashMessage in app.session.flashbag.get('notice') %} | |
9 | <span class="black-text"><p>{{ flashMessage }}</p></span> | |
10 | {% endfor %} | |
11 | ||
12 | <div class="input-field col s12"> | |
13 | {{ form_errors(form.email) }} | |
8263e711 NL |
14 | {{ form_label(form.email) }} |
15 | {{ form_widget(form.email) }} | |
ec3ce598 NL |
16 | </div> |
17 | ||
18 | <div class="input-field col s12"> | |
19 | {{ form_errors(form.username) }} | |
8263e711 NL |
20 | {{ form_label(form.username) }} |
21 | {{ form_widget(form.username) }} | |
ec3ce598 NL |
22 | </div> |
23 | ||
24 | <div class="input-field col s12"> | |
25 | {{ form_errors(form.plainPassword.first) }} | |
8263e711 NL |
26 | {{ form_label(form.plainPassword.first) }} |
27 | {{ form_widget(form.plainPassword.first) }} | |
ec3ce598 NL |
28 | </div> |
29 | ||
30 | <div class="input-field col s12"> | |
31 | {{ form_errors(form.plainPassword.second) }} | |
8263e711 NL |
32 | {{ form_label(form.plainPassword.second) }} |
33 | {{ form_widget(form.plainPassword.second) }} | |
ec3ce598 NL |
34 | </div> |
35 | </div> | |
0a878469 | 36 | </div> |
ec3ce598 | 37 | <div class="card-action center"> |
5ecdfcd0 | 38 | <a href="{{ path('fos_user_security_login') }}" class="waves-effect waves-light grey btn">{{ 'security.login.submit'|trans }}</a> |
0a878469 | 39 | <button class="btn waves-effect waves-light" type="submit" name="send"> |
ec3ce598 | 40 | {{ 'registration.submit'|trans({}, 'FOSUserBundle') }} |
5ecdfcd0 | 41 | <i class="material-icons right">send</i> |
0a878469 NL |
42 | </button> |
43 | </div> | |
44 | </form> |