Fix avatar upload requiring username/email (Issue #12)

- Remove unnecessary wrapper form around Profile Picture section
- Avatar upload form is now standalone, not nested
- Prevents browser validation from requiring username/email when uploading avatar

Fixes #12
This commit is contained in:
2025-10-11 23:58:01 -05:00
parent 29b4a9d339
commit 466badd326

View File

@@ -243,7 +243,6 @@
{% endwith %} {% endwith %}
</div> </div>
<form method="POST">
<div class="profile-section"> <div class="profile-section">
<h2>Profile Picture</h2> <h2>Profile Picture</h2>
<div class="profile-avatar"> <div class="profile-avatar">
@@ -267,7 +266,6 @@
</div> </div>
</div> </div>
</div> </div>
</form>
<form method="POST"> <form method="POST">
<div class="profile-section"> <div class="profile-section">