fix: registration
- fixed account registration problem
This commit is contained in:
@@ -27,41 +27,19 @@
|
|||||||
{{ form_errors(registrationForm) }}
|
{{ form_errors(registrationForm) }}
|
||||||
|
|
||||||
{{ form_start(registrationForm) }}
|
{{ form_start(registrationForm) }}
|
||||||
{{ form_row(registrationForm.name) }}
|
<label for='registration_form_name' class='form-label'>Name</label>
|
||||||
{{ form_row(registrationForm.email) }}
|
<input type='text' name='{{ field_name(registrationForm.name) }}' id='registration_form_name' class='form-control' required='required'/>
|
||||||
|
|
||||||
|
<label for='registration_form_email' class='form-label'>Email</label>
|
||||||
|
<input type='text' name='{{ field_name(registrationForm.email) }}' id='registration_form_email' class='form-control' required='required'/>
|
||||||
|
|
||||||
|
|
||||||
{{ form_row(registrationForm.plainPassword, {
|
{{ form_row(registrationForm.plainPassword, {
|
||||||
label: 'Password'
|
label: 'Password'
|
||||||
}) }}
|
}) }}
|
||||||
|
|
||||||
<button type='submit' class='btn' id='register-btn'>Register</button>
|
<button type='submit' class='btn' id='register-btn'>Register</button>
|
||||||
{{ form_end(registrationForm) }}
|
{{ form_end(registrationForm) }}
|
||||||
<!--
|
|
||||||
<form action="/register" method="post" id='registration-form'>
|
|
||||||
<input type="hidden" name="_csrf_token" id="csrfToken"
|
|
||||||
value="{{ csrf_token('authenticate') }}"
|
|
||||||
>
|
|
||||||
<fieldset>
|
|
||||||
<legend>Login Information</legend>
|
|
||||||
<div class="input-container">
|
|
||||||
<label for="name">Name:</label>
|
|
||||||
<input type="text" id="name" name="name" required>
|
|
||||||
</div>
|
|
||||||
<div class="input-container">
|
|
||||||
<label for="emailAddress">Email Address:</label>
|
|
||||||
<input type="email" id="emailAddress" name="email" required>
|
|
||||||
</div>
|
|
||||||
<div class="input-container">
|
|
||||||
<label for="password">Password:</label>
|
|
||||||
<input type="password" id="password" name="plainPassword" required>
|
|
||||||
</div>
|
|
||||||
<div class="input-container">
|
|
||||||
<label for="confirmPassword">Confirm Password:</label>
|
|
||||||
<input type="password" id="confirmPassword" name="confirmPassword" required>
|
|
||||||
</div>
|
|
||||||
</fieldset>
|
|
||||||
<button id='register-btn'>Register</button>
|
|
||||||
<input type="submit" value="Register" />
|
|
||||||
</form>-->
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Reference in New Issue
Block a user