templates/base.html
changeset 14 cd6911eaac2c
child 15 b06f0fefbd20
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/base.html	Mon Apr 12 13:49:00 2010 +0530
@@ -0,0 +1,21 @@
+<html>
+<head>
+<title>
+{% block title %}
+Workshop App
+{% endblock %}
+</title></head>
+<body>
+{% if user.is_authenticated %}
+	Welcome {{user.get_full_name}} | 
+	<a href="/reg/profile/edit">My Profile</a> |
+	<a href="/reg/logout">Logout</a>
+{% else %}
+	<a href="/reg/login/">Login</a> |
+	<a href="/reg/register/">Register</a>
+{% endif %}
+<br />
+{% block content %}
+{% endblock %}
+</body>
+</html>