Make it possible to pre-select a mailinglist in the subcription form

This is done by putting #<id> at the end of the URL.
This commit is contained in:
Magnus Hagander
2013-06-20 17:12:43 +02:00
parent e852cb5eff
commit bfd7911aa6
5 changed files with 19 additions and 3 deletions

View File

@ -46,9 +46,10 @@ def subscribe(request):
# GET, so render up the form
form = SubscribeForm()
return render_to_response('base/form.html', {
return render_to_response('lists/subscribe_form.html', {
'form': form,
'operation': 'Subscribe',
'jquery': True,
'form_intro': """
Please do not subscribe to mailing lists using e-mail accounts protected by
mail-back anti-spam systems. These are extremely annoying to the list maintainers