We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f88979d commit 4dad90fCopy full SHA for 4dad90f
ux.symfony.com/templates/components/RegistrationForm.html.twig
@@ -4,12 +4,13 @@
4
{% if isSuccessful %}
5
<div>Welcome {{ newUserEmail}}!</div>
6
{% else %}
7
- <form
8
- novalidate
9
- data-action="live#action"
10
- data-action-name="prevent|saveRegistration"
11
- data-model="on(change)|*"
12
- >
+ {{ form_start(form, {
+ attr: {
+ 'novalidate': true,
+ 'data-action': 'live#action',
+ 'data-action-name': 'prevent|saveRegistration',
+ }
13
+ }) }}
14
{{ form_row(form.email) }}
15
{{ form_row(form.password) }}
16
{{ form_row(form.terms) }}
0 commit comments