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

@@ -29,7 +29,7 @@
<div class="profile-bio">
<p>
<strong>About me:</strong><br>
{{ user.about_me or "This user hasn't written a bio yet." }}
{{ user.display_about() }}
</p>
</div>
</div>