s1llyw0rdz/web/handler/html/settings.html
2021-12-04 16:22:30 +01:00

29 lines
No EOL
986 B
HTML

{{ define "content" }}
<h1>Settings</h1>
{{ if .flash }}
<p>{{ .flash }}</p>
{{ end }}
<p><a href="/manage">Manage statuses</a></p>
<form action="/settings-update" method="post">
<div class="field">
<label for="homepage">Homepage</label>
<input type="text" name="homepage" id="homepage" value="{{ .User.Homepage }}" autocomplete="off"/>
</div>
<div class="field">
<label for="email">Email</label>
<input type="text" name="email" id="email" value="{{ .User.Email }}" autocomplete="off"/>
</div>
<div class="field">
<label for="picture">Picture URL</label>
<input type="text" name="picture" id="picture" value="{{ .User.Picture }}" autocomplete="off"/>
</div>
<div class="field">
<label for="about">About (accepts HTML, including a style tag)</label>
<textarea name="about" id="about" rows="20">{{ .User.About }}</textarea>
</div>
<input type="submit" value="Submit">
</form>
{{ end }}