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:
@@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user