From ba629b40e6d09b89030d7d9fa556629b1e42f10e Mon Sep 17 00:00:00 2001 From: frekk <frekk@ucc.asn.au> Date: Sun, 30 Dec 2018 18:05:41 +0800 Subject: [PATCH] move tips outside form --- gms/memberdb/templates/register.html | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/gms/memberdb/templates/register.html b/gms/memberdb/templates/register.html index 776534d..a18b87d 100644 --- a/gms/memberdb/templates/register.html +++ b/gms/memberdb/templates/register.html @@ -6,13 +6,14 @@ {% block content %} <div class="form-container"> + <p class="tips"> + {% block tips %} + Enter your details, and press "Register" when you are done.<br> + Once your membership has been approved, you will receive an email with further instructions to activate your account. + {% endblock %} + </p> <form action="{% block action_url %}{% url 'memberdb:register' %}{% endblock %}" method="post"> - <p class="tips"> - {% block tips %} - Enter your details, and press "Register" when you are done.<br> - Once your membership has been approved, you will receive an email with further instructions to activate your account. - {% endblock %} - </p> + {% csrf_token %} {% if form.non_field_errors|length > 0 %} -- GitLab