pytask/templates/user/my_profile.html
changeset 22 943a35c14cf7
parent 21 3e676fa948c4
equal deleted inserted replaced
21:3e676fa948c4 22:943a35c14cf7
     5 {% endblock %}
     5 {% endblock %}
     6 
     6 
     7 {% block content %}
     7 {% block content %}
     8     <!--{{ view_profile_form.as_p }}-->
     8     <!--{{ view_profile_form.as_p }}-->
     9 
     9 
    10     <h2>{{ profile }}'s Profile</h2><hr>
    10     <h2>{{ profile }}'s Profile</h2>
       
    11     <hr>
    11     {% if edit_profile %}
    12     {% if edit_profile %}
    12         <a href="/user/edit/">edit profile</a>
    13         <a href="/user/edit/">edit profile</a>
       
    14         <hr>
    13     {% endif %}
    15     {% endif %}
    14     <hr>
       
    15     {% if profile.aboutme %}
    16     {% if profile.aboutme %}
    16         <br><h4>About Me</h4><hr>{{ profile.aboutme }}
    17         <br><h4>About Me</h4><hr>{{ profile.aboutme }}
    17     {% endif %}
    18     {% endif %}
    18     {% if profile.nick %}
    19     {% if profile.nick %}
    19         <br><h4>Nick Name</h4><hr>{{ profile.nick }}
    20         <br><h4>Nick Name</h4><hr>{{ profile.nick }}