diff options
Diffstat (limited to 'tbc/views.py')
-rw-r--r-- | tbc/views.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tbc/views.py b/tbc/views.py index a8aded8..d5c5ee6 100644 --- a/tbc/views.py +++ b/tbc/views.py @@ -31,6 +31,18 @@ def is_reviewer(user): return True +def InternshipForms(request): + context = {} + images = [] + if request.user.is_anonymous(): + context['anonymous'] = True + else: + if is_reviewer(request.user): + context['reviewer'] = request.user + else: + context['user'] = request.user + return render_to_response('tbc/internship-forms.html', context) + def Home(request): context = {} images = [] |