Don't check other gender by default
This commit is contained in:
parent
a1c628a101
commit
7e1d67de42
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@
|
||||||
<label class="custom-control-label" for="genderInline2" onclick={document.getElementById("john").style="display:none;"}>Female</label>
|
<label class="custom-control-label" for="genderInline2" onclick={document.getElementById("john").style="display:none;"}>Female</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="custom-control custom-radio custom-control-inline mt-2">
|
<div class="custom-control custom-radio custom-control-inline mt-2">
|
||||||
<input type="radio" id="genderInline3" name="gender" value="Non-Binary" class="custom-control-input" {% if account.profile.gender!="Female" and account.profile.gender!="Male" %}checked{% endif %}>
|
<input type="radio" id="genderInline3" name="gender" value="Non-Binary" class="custom-control-input" {% if account.profile.gender and account.profile.gender!="Female" and account.profile.gender!="Male" %}checked{% endif %}>
|
||||||
<label class="custom-control-label" for="genderInline3" onclick={document.getElementById("john").style="display:block;"}>Other</label>
|
<label class="custom-control-label" for="genderInline3" onclick={document.getElementById("john").style="display:block;"}>Other</label>
|
||||||
</div>
|
</div>
|
||||||
<input type="text" id="john" name="gender-custom" style="display:none;" name="location" class="form-control mt-2" placeholder="Gender" aria-describedby="basic-addon1" value="{{ account.profile.gender }}">
|
<input type="text" id="john" name="gender-custom" style="display:none;" name="location" class="form-control mt-2" placeholder="Gender" aria-describedby="basic-addon1" value="{{ account.profile.gender }}">
|
||||||
|
|
Loading…
Add table
Reference in a new issue