add update for personal and work phone number

This commit is contained in:
Ryan Prather 2025-01-05 06:22:29 +00:00
parent adcd02ff2b
commit d85c1571e7

View File

@ -30,10 +30,21 @@
<input type='email' name='{{ field_name(form.email) }}' id='profile_form_email' class='form-control' value='{{ currentUser.email }}'/>
</div>
<div class='input-group input-group-outline mb-3 {% if currentUser.personalPhone %}is-filled{% endif %}'>
<label for='profile_form_phone' class='form-label'>Phone</label>
<input type='tel' name='{{ field_name(form.personalPhone) }}' id='profile_form_phone' class='form-control' value='{{ currentUser.personalPhone }}'/>
</div>
<div class='input-group input-group-outline mb-3 {% if currentUser.workPhone %}is-filled{% endif %}'>
<label for='profile_form_workPhone' class='form-label'>Work Phone</label>
<input type='tel' name='{{ field_name(form.workPhone) }}' id='profile_form_workPhone' class='form-control' value='{{ currentUser.workPhone }}'/>
</div>
<div class='input-group input-group-outline mb-3'>
<label for='profile_form_password' class='form-label'>Password</label>
<input type='password' name='{{ field_name(form.password.first) }}' id='profile_form_password' class='form-control' autocomplete='new-password'/>
</div>
<div class='input-group input-group-outline mb-3'>
<label for='profile_form_confirmPassword' class='form-label'>Confirm Password</label>
<input type='password' name='{{ field_name(form.password.second) }}' id='profile_form_confirmPassword' class='form-control' autocomplete='new-password'/>