From e6b2dbe91e0c5c0b62537e7d15814cdf417093c4 Mon Sep 17 00:00:00 2001 From: Philip Belesky Date: Sun, 3 Apr 2016 17:03:03 +1000 Subject: [PATCH] Saving motions should redirect to draw; change draw page toolbar slightly Signed-off-by: Philip Belesky --- draw/templates/draw_confirmed.html | 14 +++++++++----- motions/views.py | 2 +- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/draw/templates/draw_confirmed.html b/draw/templates/draw_confirmed.html index 0a4c56e8305..9e97515e912 100644 --- a/draw/templates/draw_confirmed.html +++ b/draw/templates/draw_confirmed.html @@ -29,9 +29,6 @@ Edit Matchups - - Draw Details - {% if pref.allocation_confirmations %} Shift Confirms @@ -44,7 +41,7 @@ {% endif %} {% if not pref.enable_debate_scheduling %} {% else %} @@ -136,7 +133,7 @@ -
diff --git a/motions/views.py b/motions/views.py index d2bef8f47eb..97100a4d67c 100644 --- a/motions/views.py +++ b/motions/views.py @@ -51,7 +51,7 @@ def motions_edit(request, round): for motions in formset.deleted_objects: motions.delete() if 'submit' in request.POST: - return redirect_round('motions', round) + return redirect_round('draw', round) else: formset = MotionFormSet(queryset=Motion.objects.filter(round=round))