diff --git a/smash/web/views/daily_planning.py b/smash/web/views/daily_planning.py index 3988cc23ed7125c0415a36c730e2ed4c1d45c7aa..40ab776c754d5bc3c8b89e8d9e1ec70701669f53 100644 --- a/smash/web/views/daily_planning.py +++ b/smash/web/views/daily_planning.py @@ -3,7 +3,10 @@ import logging from django.views.generic import TemplateView from . import wrap_response +from web.models.worker_study_role import STUDY_ROLE_CHOICES + class TemplateDailyPlannerView(TemplateView): def get(self, request, *args, **kwargs): - context = self.get_context_data(**kwargs) + context = self.get_context_data(**kwargs) + context['worker_study_roles'] = STUDY_ROLE_CHOICES return wrap_response(request, 'daily_planning.html', context) \ No newline at end of file