mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Optimized register function for bootstrap
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
{% trans_default_domain 'FOSUserBundle' %}
|
||||
|
||||
<h1>{% trans %}register{% endtrans %}</h1>
|
||||
{{ form_start(form, {'method': 'post', 'action': path('fos_user_registration_register'), 'attr': {'class': 'fos_user_registration_register'}}) }}
|
||||
{{ form_widget(form) }}
|
||||
<div>
|
||||
<input type="submit" value="{{ 'registration.submit'|trans }}" />
|
||||
<input type="submit" class="btn btn-primary" value="{{ 'registration.submit'|trans }}" />
|
||||
</div>
|
||||
{{ form_end(form) }}
|
||||
|
Reference in New Issue
Block a user