{% extends 'base_site.html' %} {% load crispy_forms_tags %} {% load i18n %} {% load static %} {% block title %}{% if form %}{% translate 'Registration Step' %} {{ current_step }}{% else %}{% translate 'Welcome' context user.get_gender %}{% endif %} / {% block site_title %}{{ block.super }}{% endblock %}{% endblock %} {% comment %} activation-form.css contains code which should not be displayed if there is no form. Such as hiding page-header. {% endcomment %} {% block extra_css %} {{ block.super }} {% if form %} {% endif %} {% endblock %} {% block content %}
{% if not request.user.has_confirmed_email_or_registered_now %}
{% translate 'Please confirm your email address.' context user.get_gender %}
{% elif form %}
{% for step in steps_range %} {% if step <= request.user.speedy_match_profile.activation_step %} {% endif %} {{ step }} {% if step <= request.user.speedy_match_profile.activation_step %} {% endif %} {% endfor %}
{% if current_step < 7 %} {% translate 'About me'|title context user.get_gender %} {% else %} {% translate 'About my match'|title context user.speedy_match_profile.get_match_gender %} {% endif %}
{% if 3 <= current_step and current_step < 7 %} {% include 'accounts/edit_profile/partials/user_profile.html' %}
{% else %}
{% endif %} {% csrf_token %} {% if form.non_field_errors %} {{ form.non_field_errors }} {% endif %} {% for field in form %}
{{ field.label_tag }}
{{ field.errors }} {{ field }} {{ field.help_text }}
{% endfor %}
{% if current_step != 0 %} {% translate 'Back' %} {% endif %}
{% else %} {% translate 'Your Speedy Net account is not active. Enter this page to activate it.' context request.user.get_gender %} {% endif %}
{% endblock %} {% block extra_js %} {{ block.super }} {% block google_conversions %} {# Track Google conversions - only on speedymatch.com #} {% if site.domain == 'speedymatch.com' and include_in_conversions %} {% if current_step == 2 %} {# #} {# #} {% if user.has_confirmed_email %} {# #} {% endif %} {% endif %} {% if current_step == 5 %} {# #} {# #} {% if user.has_confirmed_email %} {# #} {% endif %} {% endif %} {% if current_step == 9 %} {# #} {# #} {% if user.has_confirmed_email %} {# #} {% endif %} {% if user.speedy_match_profile.settings.MIN_HEIGHT_TO_MATCH <= user.speedy_match_profile.height and user.speedy_match_profile.height <= user.speedy_match_profile.settings.MAX_HEIGHT_TO_MATCH %} {% else %} {# #} {% endif %} {% if not user.speedy_match_profile.not_allowed_to_use_speedy_match %} {% else %} {# #} {% if user.has_confirmed_email %} {# #} {% endif %} {% endif %} {% if user.speedy_match_profile.settings.MIN_HEIGHT_TO_MATCH <= user.speedy_match_profile.height and user.speedy_match_profile.height <= user.speedy_match_profile.settings.MAX_HEIGHT_TO_MATCH %} {% else %} {% if not user.speedy_match_profile.not_allowed_to_use_speedy_match %} {% else %} {# #} {% endif %} {% endif %} {% endif %} {% endif %} {% endblock %} {% endblock %}