mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-04 22:24:42 +09:00
Add more inclusive gender options (#753)
And allow it to be updated from within the client's profile. This doesn't appear to be used anywhere in our default modules, but it's at least nice to give more inclusive options and allow it to be update by the client, for if it is ever used by a module.
This commit is contained in:
1 parent
f170503e98
commit
82bb879097
7 files changed
+22
-5
No files matched your search
@@ -72,6 +72,19 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="input">{{ 'Gender'|trans }}</label>
|
||||
<div class="controls">
|
||||
<select name="gender" id="gender">
|
||||
<option value="male" {{ profile.gender == 'male' ? 'selected' : '' }}>Male</option>
|
||||
<option value="female" {{ profile.gender == 'female' ? 'selected' : '' }}>Female</option>
|
||||
<option value="nonbinary" {{ profile.gender == 'nonbinary' ? 'selected' : '' }}>Non-binary</option>
|
||||
<option value="other" {% if profile.gender not in ['male', 'female', 'nonbinary'] %} selected {% endif %}>Other</option>
|
||||
</select>
|
||||
<p class="help-block"></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="input">{{ 'Company Name'|trans }}</label>
|
||||
<div class="controls">
|
||||
|
||||
Reference in new issue
Block a user