Create proper edit profile form w/ CSRF & refactor User.about_me null/empty string handling

This commit is contained in:
Xevion
2022-03-29 16:37:12 -05:00
parent bad80cf483
commit 839ef370be
5 changed files with 28 additions and 25 deletions

View File

@@ -24,7 +24,7 @@
<img src="{{ url_for('static', filename='default_photo.png') }}"
alt="{{ user.username }}'s Profile Picture">
</div>
<p class="user-box-minibio">{{ user.about_me }}</p>
<p class="user-box-minibio">{{ user.display_about() }}</p>
</div>
</div>
{% endfor %}