diff --git a/edivorce/apps/core/templates/base.html b/edivorce/apps/core/templates/base.html index 49fa7721..40c4f64f 100644 --- a/edivorce/apps/core/templates/base.html +++ b/edivorce/apps/core/templates/base.html @@ -151,7 +151,7 @@ {% if show_debug %}
  • - Debug Current User + Debug Current User
  • {% endif %} diff --git a/edivorce/apps/core/templates/dashboard/current.html b/edivorce/apps/core/templates/dashboard/current.html index 8b982276..bab20465 100644 --- a/edivorce/apps/core/templates/dashboard/current.html +++ b/edivorce/apps/core/templates/dashboard/current.html @@ -8,8 +8,9 @@ table.outer { width: 100%; } table.outer td { width: 50%; vertical-align: top; } td input { padding: 7px 10px; margin-bottom: 2px; } -table.inner { width: 90%; } +table.inner { width: 95%; table-layout: fixed; } table.inner td { vertical-align: top; } +table.inner td + td { padding-left: 1em; }

    diff --git a/edivorce/apps/core/views/system.py b/edivorce/apps/core/views/system.py index e45fbe4a..4536cf33 100644 --- a/edivorce/apps/core/views/system.py +++ b/edivorce/apps/core/views/system.py @@ -1,6 +1,7 @@ from django.conf import settings from django.http import HttpResponse, Http404 from django.shortcuts import render, redirect +from django.core.urlresolvers import reverse from edivorce.apps.core.models import Question @@ -28,13 +29,13 @@ def current(request): request.user.responses.all().delete() request.user.delete() request.session.flush() - return redirect('/current') + return redirect(reverse('current')) if request.GET.get('intercept', False) and request.user.is_authenticated(): request.user.has_seen_orders_page = False request.user.save() request.user.responses.filter(question__key='want_which_orders').delete() - return redirect('/current') + return redirect(reverse('current')) context = { 'hide_nav': True,