2024-04-08 19:04:19 -04:00
|
|
|
{{ define "content" }}
|
|
|
|
|
|
|
|
<h1>hey {{ .Profile.DisplayName }}</h1>
|
|
|
|
<br>
|
|
|
|
<form action="/profile" method="POST" class="form" enctype="multipart/form-data">
|
2024-04-09 18:29:52 -04:00
|
|
|
<label for="file" class="file-upload">avatar.</label>
|
|
|
|
<input type="file" name="avatar">
|
2024-04-08 19:04:19 -04:00
|
|
|
|
2024-04-09 18:29:52 -04:00
|
|
|
<label for="location">location.</label>
|
2024-04-08 19:04:19 -04:00
|
|
|
<input type="text" name="location" value="{{ .Profile.Location }}">
|
|
|
|
|
2024-04-09 18:29:52 -04:00
|
|
|
<label for="website">website.</label>
|
2024-04-08 19:04:19 -04:00
|
|
|
<input type="text" name="website" value="{{ .Profile.Website }}">
|
|
|
|
|
2024-04-09 18:29:52 -04:00
|
|
|
<label for="pronouns">pronouns.</label>
|
|
|
|
<input type="text" name="pronouns" value="{{ .Profile.Pronouns }}">
|
|
|
|
|
|
|
|
<label for="bio">bio.</label>
|
2024-04-08 19:04:19 -04:00
|
|
|
<textarea name="bio">{{ .Profile.Bio }}</textarea>
|
|
|
|
|
|
|
|
<input type="submit" value="update">
|
|
|
|
</form>
|
|
|
|
|
|
|
|
{{ end }}
|