forked from MarseyWorld/MarseyWorld
refine pronouns
parent
6dd37ba757
commit
59faca9892
|
@ -102,7 +102,7 @@ search_token_regex = re.compile('"([^"]*)"|(\S+)', flags=re.A)
|
|||
|
||||
git_regex = re.compile("ref: (refs/.+)", flags=re.A)
|
||||
|
||||
pronouns_regex = re.compile("([a-z]{1,5})/[a-z]{2,5}(/[a-z]{2,5})?", flags=re.A|re.I)
|
||||
pronouns_regex = re.compile("([a-z]{1,5})/[a-z]{1,5}(/[a-z]{1,5})?", flags=re.A|re.I)
|
||||
|
||||
knowledgebase_page_regex = re.compile("[a-zA-Z0-9_\-]+", flags=re.A)
|
||||
|
||||
|
|
|
@ -473,7 +473,7 @@
|
|||
<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]{2,5}(/[a-zA-Z]{2,5})?" autocomplete="off" id="pronounbody" type="text" name="pronouns" class="form-control" placeholder='Enter pronouns here' value="{% if v.pronouns %}{{v.pronouns}}{% endif %}">
|
||||
<input minlength=3 maxlength=11 pattern="([a-zA-Z]{1,5})/[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>{2-5 characters} / {2-5 characters}</small>
|
||||
<input autocomplete="off" class="btn btn-primary ml-auto" id="pronounsSave" type="submit" onclick="disable(this)" value="Change Pronouns">
|
||||
|
|
Loading…
Reference in New Issue