templates/view_profile.html
author nishanth
Fri, 23 Apr 2010 16:35:42 +0530
changeset 98 1af134a1e53d
parent 93 cd76d507b6cf
permissions -rw-r--r--
now an email will be sent to user after he resets his password.

{% 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 %}