diff options
| author | Elizabeth <elizabeth@simponic.xyz> | 2024-04-09 18:39:14 -0400 |
|---|---|---|
| committer | simponic <simponic@hatecomputers.club> | 2024-04-09 18:39:14 -0400 |
| commit | 1d75bf7489527925217bd5611ba7910c0ffe077c (patch) | |
| tree | 3b6e6056912648a88e1e42c1e42ed7e58e2d4701 /templates/profile.html | |
| parent | ee49015cc90e6c136ad94243fffc9241b9506a36 (diff) | |
| download | hatecomputers.club-1d75bf7489527925217bd5611ba7910c0ffe077c.tar.gz hatecomputers.club-1d75bf7489527925217bd5611ba7910c0ffe077c.zip | |
profiles (#7)
Reviewed-on: https://git.hatecomputers.club/hatecomputers/hatecomputers.club/pulls/7
Co-authored-by: Elizabeth <elizabeth@simponic.xyz>
Co-committed-by: Elizabeth <elizabeth@simponic.xyz>
Diffstat (limited to 'templates/profile.html')
| -rw-r--r-- | templates/profile.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/profile.html b/templates/profile.html new file mode 100644 index 0000000..a6e1b68 --- /dev/null +++ b/templates/profile.html @@ -0,0 +1,24 @@ +{{ define "content" }} + +<h1>hey {{ .Profile.DisplayName }}</h1> +<br> +<form action="/profile" method="POST" class="form" enctype="multipart/form-data"> + <label for="file" class="file-upload">avatar.</label> + <input type="file" name="avatar"> + + <label for="location">location.</label> + <input type="text" name="location" value="{{ .Profile.Location }}"> + + <label for="website">website.</label> + <input type="text" name="website" value="{{ .Profile.Website }}"> + + <label for="pronouns">pronouns.</label> + <input type="text" name="pronouns" value="{{ .Profile.Pronouns }}"> + + <label for="bio">bio.</label> + <textarea name="bio">{{ .Profile.Bio }}</textarea> + + <input type="submit" value="update"> +</form> + +{{ end }} |
