diff options
Diffstat (limited to 'templates/registration')
-rw-r--r-- | templates/registration/activate.html | 4 | ||||
-rw-r--r-- | templates/registration/activation_email.html | 2 | ||||
-rw-r--r-- | templates/registration/activation_email.txt | 2 | ||||
-rw-r--r-- | templates/registration/registration_form.html | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/templates/registration/activate.html b/templates/registration/activate.html index 3f95a18..cf8e79a 100644 --- a/templates/registration/activate.html +++ b/templates/registration/activate.html @@ -12,11 +12,11 @@ New troggle account registered {% if account %} <p> -Hello, {{ account }}! Your account is now activated. Now you can <a href="{%url auth_login%}">log in</a> with the password you chose. Use the links in the upper right to control this in the future. +Hello, {{ account }}! Your account is now activated. Now you can <a href="{%url "auth_login"%}">log in</a> with the password you chose. Use the links in the upper right to control this in the future. </p> <p> -If you have been on the expedition in the past, you already have a profile in the system; <a href={% url profiles_select_profile %}>click here </a> to find it and link it to your account. Otherwise, please <a href={% url profiles_create_profile %}> create yourself a new profile</a>. +If you have been on the expedition in the past, you already have a profile in the system; <a href={% url "profiles_select_profile" %}>click here </a> to find it and link it to your account. Otherwise, please <a href={% url "profiles_create_profile" %}> create yourself a new profile</a>. </p> {% else %} diff --git a/templates/registration/activation_email.html b/templates/registration/activation_email.html index abb0ad1..3b82c60 100644 --- a/templates/registration/activation_email.html +++ b/templates/registration/activation_email.html @@ -2,7 +2,7 @@ <P>Glad you're joining the CUCC EXPO team! Please go to</P> -<P><a href="{{ site }}{% url registration_activate activation_key %}">{{ site }}{% url registration_activate activation_key %}</a></P> +<P><a href="{{ site }}{% url "registration_activate" activation_key %}">{{ site }}{% url "registration_activate" activation_key %}</a></P> <P>to activate your account. Do this within {{ expiration_days }} days, or else you'll have to sign up again.</P> diff --git a/templates/registration/activation_email.txt b/templates/registration/activation_email.txt index 9b240c2..bce7fbe 100644 --- a/templates/registration/activation_email.txt +++ b/templates/registration/activation_email.txt @@ -2,7 +2,7 @@ Hello {{ form.user }}, Glad you're joining the CUCC EXPO team! Please go to -{{ site }}{% url registration_activate activation_key %} +{{ site }}{% url "registration_activate" activation_key %} to activate your account. Do this within {{ expiration_days }} days, or else you'll have to sign up again. diff --git a/templates/registration/registration_form.html b/templates/registration/registration_form.html index f82c6cb..6c4a7f6 100644 --- a/templates/registration/registration_form.html +++ b/templates/registration/registration_form.html @@ -9,7 +9,7 @@ registration_form.html | {{ block.super }} {% endblock %} {% block content %} -<form action="{% url registration_register %}" method="POST">{% csrf_token %} +<form action="{% url "registration_register" %}" method="POST">{% csrf_token %} {% for error in form.non_field_errors %} <span style="color:red">{{ error }}</span> {% endfor %} |