diff --git a/mhackspace/requests/views.py b/mhackspace/requests/views.py index fe16064..6b8bd4a 100644 --- a/mhackspace/requests/views.py +++ b/mhackspace/requests/views.py @@ -30,7 +30,7 @@ class RequestsForm(FormView): return super(FormView, self).form_valid(form) - +@method_decorator(login_required, name='dispatch') class RequestsList(ListView): template_name = 'pages/requests.html' model = UserRequests diff --git a/mhackspace/templates/pages/requests.html b/mhackspace/templates/pages/requests.html index 0d27c72..27ef0ab 100644 --- a/mhackspace/templates/pages/requests.html +++ b/mhackspace/templates/pages/requests.html @@ -16,7 +16,7 @@
- Make a request for equipment you would like to see in the space, request training on equipment or ak a member to run a workshop or talk on something. + Make a request for equipment you would like to see in the space, request training on equipment or ask a member to run a workshop or talk on something.