forked from rDrama/rDrama
1
0
Fork 0

restrict pronouns to rdrama only

master
Aevann1 2022-07-11 20:32:38 +02:00
parent b8185d21d5
commit f8bf31a051
1 changed files with 14 additions and 13 deletions

View File

@ -458,23 +458,24 @@
</div>
</div>
{% if SITE_NAME == 'rDrama' %}
<div class="body d-lg-flex border-bottom">
<div class="body d-lg-flex border-bottom">
<label class="text-black w-lg-25">Pronouns</label>
<label class="text-black w-lg-25">Pronouns</label>
<div class="w-lg-100">
<form id="profile-settings" action="/settings/pronouns_change" method="post">
<input type="hidden" name="formkey" value="{{v.formkey}}">
<input minlength=3 maxlength=11 pattern="[a-zA-Z]{1,5}/[a-zA-Z]{1,5}" autocomplete="off" id="pronounbody" type="text" name="pronouns" class="form-control" placeholder='Enter pronouns here' value="{% if v.pronouns %}{{v.pronouns}}{% endif %}">
<div class="d-flex mt-2">
<small>{1-5 characters} / {1-5 characters}</small>
<input autocomplete="off" class="btn btn-primary ml-auto" id="pronounsSave" type="submit" onclick="disable(this)" value="Change Pronouns">
</div>
</form>
</div>
<div class="w-lg-100">
<form id="profile-settings" action="/settings/pronouns_change" method="post">
<input type="hidden" name="formkey" value="{{v.formkey}}">
<input minlength=3 maxlength=11 pattern="[a-zA-Z]{1,5}/[a-zA-Z]{1,5}" autocomplete="off" id="pronounbody" type="text" name="pronouns" class="form-control" placeholder='Enter pronouns here' value="{% if v.pronouns %}{{v.pronouns}}{% endif %}">
<div class="d-flex mt-2">
<small>{1-5 characters} / {1-5 characters}</small>
<input autocomplete="off" class="btn btn-primary ml-auto" id="pronounsSave" type="submit" onclick="disable(this)" value="Change Pronouns">
</div>
</form>
</div>
</div>
{% endif %}
<div class="body d-lg-flex border-bottom">