From 4b31e2393a6c3b6bec1cb4714174016c815c2f68 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Tue, 6 Mar 2018 18:14:21 +0100 Subject: [PATCH] Added user introduction input --- pages/settings/settings.pixy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/settings/settings.pixy b/pages/settings/settings.pixy index 09911de6..80605046 100644 --- a/pages/settings/settings.pixy +++ b/pages/settings/settings.pixy @@ -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")