Signed-off-by: oppiliappan me@oppi.li
+8
-1
appview/pages/templates/user/fragments/editBio.html
+8
-1
appview/pages/templates/user/fragments/editBio.html
···
26
{{ if and .Profile .Profile.Pronouns }}
27
{{ $pronouns = .Profile.Pronouns }}
28
{{ end }}
29
+
<input
30
+
type="text"
31
+
class="py-1 px-1 w-full"
32
+
name="pronouns"
33
+
placeholder="they/them"
34
+
pattern="[a-zA-Z]{1,6}[\/\s\-][a-zA-Z]{1,6}"
35
+
value="{{ $pronouns }}"
36
+
>
37
</div>
38
</div>
39
History
1 round
0 comments
oppi.li
submitted
#0
1 commit
expand
collapse
appview/pages: pattern validation for pronouns field
Signed-off-by: oppiliappan <me@oppi.li>
3/3 success
expand
collapse
expand 0 comments
pull request successfully merged