templates/base.html
changeset 14 cd6911eaac2c
child 15 b06f0fefbd20
equal deleted inserted replaced
13:05248e27104a 14:cd6911eaac2c
       
     1 <html>
       
     2 <head>
       
     3 <title>
       
     4 {% block title %}
       
     5 Workshop App
       
     6 {% endblock %}
       
     7 </title></head>
       
     8 <body>
       
     9 {% if user.is_authenticated %}
       
    10 	Welcome {{user.get_full_name}} | 
       
    11 	<a href="/reg/profile/edit">My Profile</a> |
       
    12 	<a href="/reg/logout">Logout</a>
       
    13 {% else %}
       
    14 	<a href="/reg/login/">Login</a> |
       
    15 	<a href="/reg/register/">Register</a>
       
    16 {% endif %}
       
    17 <br />
       
    18 {% block content %}
       
    19 {% endblock %}
       
    20 </body>
       
    21 </html>