From b61de3d001577f38e5a495ec3d4a092fc0ade0fa Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Sun, 1 May 2011 04:27:24 -0400 Subject: [PATCH] Add a 'next' hidden field to allow form to store redirection url --- apps/common/templates/generic_form_subtemplate.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/common/templates/generic_form_subtemplate.html b/apps/common/templates/generic_form_subtemplate.html index b955f59352..5bf248bc16 100644 --- a/apps/common/templates/generic_form_subtemplate.html +++ b/apps/common/templates/generic_form_subtemplate.html @@ -30,6 +30,10 @@ {% if submit_method != "GET" and submit_method != "get" %} {% csrf_token %} {% endif %} + + {% if next %} + + {% endif %} {% for hidden_field in hidden_fields %} {{ hidden_field.as_hidden }}