Commit cf782b5b authored by Patrick Kimber's avatar Patrick Kimber

display 'next' only if it exists

parent 3a3e802c
...@@ -21,5 +21,7 @@ ...@@ -21,5 +21,7 @@
{% for hidden in form.hidden_fields %} {% for hidden in form.hidden_fields %}
{{ hidden }} {{ hidden }}
{% endfor %} {% endfor %}
<input type="hidden" name="next" value="{{ next }}" /> {% if next %}
<input type="hidden" name="next" value="{{ next }}" />
{% endif %}
</form> </form>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment