Added user introduction input

This commit is contained in:
Eduard Urbach 2018-03-06 18:14:21 +01:00
parent 3219adfdb1
commit 4b31e2393a

View File

@ -21,7 +21,8 @@ component SettingsPersonal(user *arn.User)
InputText("Nick", user.Nick, "Username", "Your username on notify.moe")
InputText("Tagline", user.Tagline, "Tagline", "Text that appears below your username")
InputText("Website", user.Website, "Website", "Your homepage")
InputTextArea("Introduction", user.Introduction, "Introduction", "Tell us about yourself (Markdown is allowed)")
.widget.mountable(data-api="/api/settings/" + user.ID)
h3.widget-title
Icon("picture-o")