uploading a profile photo now works

This commit is contained in:
2025-10-12 16:32:37 -06:00
parent 2b8de350ab
commit 113616ff41
4 changed files with 71 additions and 17 deletions
+1 -2
View File
@@ -188,8 +188,7 @@
<input type="hidden" name="{{ .Name }}_data" value="{{ .Value }}"/>
<a href="/profile_photo?tgt={{ target | url }}"
class="border-2 border-gray-300 rounded hover:border-blue-500 transition-colors">
<img src="/img/builtin/no-user.png"
alt="Click to upload photo" class="w-25 h-25">
<img src="{{ .Value }}" alt="Click to upload photo" class="w-25 h-25">
</a>
</div>
{{ else if .Type == "header" }}