Add repeated password field

This commit is contained in:
Ryan Prather 2024-12-10 23:09:16 -05:00
parent 809490dc44
commit 1489427b80

View File

@ -43,7 +43,11 @@
</div> </div>
<div class="input-group input-group-outline mb-3"> <div class="input-group input-group-outline mb-3">
<label for="registration_form_plainPassword" class="form-label">Password</label> <label for="registration_form_plainPassword" class="form-label">Password</label>
<input type="password" name="{{ field_name(form.plainPassword) }}" placeholder="" class="form-control" required="required"/> <input type="password" name="{{ field_name(form.plainPassword.first) }}" placeholder="" class="form-control" required="required"/>
</div>
<div class='input-group input-group-outline mb-3'>
<label for='registration_form_repeatPassword' class='form-label'>Repeat Password</label>
<input type='password' name='{{ field_name(form.plainPassword.second) }}' class='form-control'/>
</div> </div>
<div class="text-center"> <div class="text-center">
<button type="submit" class="btn btn-lg bg-gradient-dark btn-lg w-100 mt-4 mb-0">Sign Up</button> <button type="submit" class="btn btn-lg bg-gradient-dark btn-lg w-100 mt-4 mb-0">Sign Up</button>