diff -r 125b6fc8f20b -r 7dae32a2439b templates/index.html --- a/templates/index.html Mon Apr 12 16:17:53 2010 +0530 +++ b/templates/index.html Mon Apr 12 18:15:21 2010 +0530 @@ -1,6 +1,7 @@ {% extends "base.html" %} {% block content %} - {% for event in events %} - {{event.title}}
- {% endfor %} + {% if user.is_staff %} + Create an event
+ {% endif %} + {% endblock %}