templates/view_profile.html
author nishanth
Sat, 17 Apr 2010 11:40:17 +0530
changeset 93 cd76d507b6cf
parent 75 bda9ee536063
permissions -rw-r--r--
changed the view profile template.

{% extends "base.html" %}
{% block content %}
<a href="/workshop/registration/profile/edit">Edit Profile</a> | 
<a href="/workshop/registration/password_change">Change Password</a>
<br />
Firstname: {{user.first_name}}<br />
Lastname: {{user.last_name}}<br />
Gender: {% ifequal user_profile.gender "M" %}Male{%else%}Female{%endifequal%}<br />
Profession: {% ifequal user_profile.profession "S" %}
				Student
			{% else %}
				{% ifequal user_profile.profession "F" %}Faculty{%else%}Professinal{%endifequal%}
			{%endifequal%}<br />
College/Company: {{user_profile.affiliated_to }}<br />
Interests: {{user_profile.interests }}<br />
{% endblock %}