Added birthday and gender fields

This commit is contained in:
2018-11-06 18:28:50 +09:00
parent 81764b981c
commit daaa4c609f
9 changed files with 89 additions and 65 deletions

View File

@ -10,9 +10,8 @@ component SettingsPersonal(user *arn.User)
span Personal
InputText("Nick", user.Nick, "Username", "Your username on notify.moe")
InputText("Website", user.Website, "Website", "Your homepage")
InputTextArea("Introduction", user.Introduction, "Introduction", "Tell us about yourself (Markdown is allowed)")
InputTextArea("Introduction", user.Introduction, "Introduction", "Tell us about yourself")
.widget.mountable(data-api="/api/settings/" + user.ID)
h3.widget-title
Icon("camera")