Monorepo for Tangled tangled.org

appview/pages: pattern validation for pronouns field #817

merged opened by oppi.li targeting master from op/zrykrkouqoxo
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:qfpnj4og54vl56wngdriaxug/sh.tangled.repo.pull/3m5soj3bghw22
+8 -1
Diff #0
+8 -1
appview/pages/templates/user/fragments/editBio.html
··· 26 {{ if and .Profile .Profile.Pronouns }} 27 {{ $pronouns = .Profile.Pronouns }} 28 {{ end }} 29 - <input type="text" class="py-1 px-1 w-full" name="pronouns" value="{{ $pronouns }}"> 30 </div> 31 </div> 32
··· 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
sign up or login to add to the discussion
oppi.li submitted #0
1 commit
expand
appview/pages: pattern validation for pronouns field
3/3 success
expand
expand 0 comments
pull request successfully merged