|
@@ -9,7 +9,11 @@
|
|
|
<!------ Profile Information ---------->
|
|
<!------ Profile Information ---------->
|
|
|
<p>Profile Information</p>
|
|
<p>Profile Information</p>
|
|
|
<div class="card">
|
|
<div class="card">
|
|
|
|
|
+ {% if current_user.profile_image %}
|
|
|
<img src="static/uploads/{{ user.profile_image }}" style="width:100%">
|
|
<img src="static/uploads/{{ user.profile_image }}" style="width:100%">
|
|
|
|
|
+ {% else %}
|
|
|
|
|
+ <img src="static/uploads/defaultprofileimg/defaultprofileimg.png" style="width:100%">
|
|
|
|
|
+ {% endif %}
|
|
|
<h1>{{ user.username }}</h1>
|
|
<h1>{{ user.username }}</h1>
|
|
|
<p>{{ user.email }}</p>
|
|
<p>{{ user.email }}</p>
|
|
|
</div>
|
|
</div>
|