{{ 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">
    {{ .csrfField }}
    <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 }}