summaryrefslogtreecommitdiff
path: root/app/lttr/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/lttr/views.py')
-rw-r--r--app/lttr/views.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/lttr/views.py b/app/lttr/views.py
index c4414b2..f0f40e7 100644
--- a/app/lttr/views.py
+++ b/app/lttr/views.py
@@ -105,6 +105,7 @@ class UnsubscribeRequestView(DetailView):
context['newsletter'] = self.kwargs['slug']
return context
+
class PostcardSubscribeView(CreateView):
"""
Return a subscribe form for iframe embedding
@@ -114,7 +115,7 @@ class PostcardSubscribeView(CreateView):
def get_template_names(self):
- return ["lttr/%s_subscribe.html" % self.slug, 'lttr/subscribe.html']
+ return ["lttr/postcard_subscribe.html",]
def get_success_url(self):
return reverse_lazy('card:subscribed')