diff --git a/pinaxcon/templates/dashboard.html b/pinaxcon/templates/dashboard.html index eab991c5..bee1c3c0 100644 --- a/pinaxcon/templates/dashboard.html +++ b/pinaxcon/templates/dashboard.html @@ -43,7 +43,7 @@

To attend the conference, you must register an attendee profile and purchase your ticket

- Get your ticket + Get your ticket
{% else %} diff --git a/pinaxcon/templates/registrasion/guided_registration.html b/pinaxcon/templates/registrasion/guided_registration.html index 01927a6b..d3b30b85 100644 --- a/pinaxcon/templates/registrasion/guided_registration.html +++ b/pinaxcon/templates/registrasion/guided_registration.html @@ -45,7 +45,10 @@ {% endfor %}
- + {% if current_step > 1 %} + Back + {% endif %} +
diff --git a/vendor/registrasion/registrasion/views.py b/vendor/registrasion/registrasion/views.py index ac78d842..4d6a078f 100644 --- a/vendor/registrasion/registrasion/views.py +++ b/vendor/registrasion/registrasion/views.py @@ -94,6 +94,7 @@ def guided_registration(request, page_number=None): with the following data:: { + "previous_step": int(), # Previous step "current_step": int(), # The current step in the # registration "sections": sections, # A list of @@ -152,6 +153,8 @@ def guided_registration(request, page_number=None): page_number = int(page_number) + prev_step = page_number - 1 + next_step = redirect("guided_registration", page_number + 1) with BatchController.batch(request.user): @@ -206,6 +209,7 @@ def guided_registration(request, page_number=None): return next_step data = { + "previous_step": prev_step, "current_step": page_number, "sections": sections, "title": title,