Forked mumble-django project from https://bitbucket.org/Svedrin/mumble-django
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
2.3 KiB

  1. {% extends "base.htm" %}
  2. {% load i18n %}
  3. {% block title %}Create Account{% endblock %}
  4. {% block content %}
  5. <h2>Create Account</h2>
  6. <p>Please fill in the following form.</p>
  7. <form method="post" action=".">
  8. {% if form.non_field_errors %}
  9. <div class="errorbox">
  10. <p>Error:</p>
  11. {{ form.non_field_errors }}
  12. </div>
  13. {% endif %}
  14. <dl>
  15. <dt>{{ form.username.label_tag }}<span style="color:red">*</span></dt>
  16. <dd>{{ form.username }}</dd>
  17. {% if form.username.help_text %}<dd>{{ form.username.help_text }}</dd>{% endif %}
  18. {% if form.username.errors %}<dd class="myerrors">{{ form.username.errors }}</dd>{% endif %}
  19. <dt>{{ form.email.label_tag }}<span style="color:red">*</span></dt>
  20. <dd>{{ form.email }}</dd>
  21. {% if form.email.help_text %}<dd>{{ form.email.help_text }}</dd>{% endif %}
  22. {% if form.email.errors %}<dd class="myerrors">{{ form.email.errors }}</dd>{% endif %}
  23. <dt>{{ form.first_name.label_tag }}<span style="color:red">*</span></dt>
  24. <dd>{{ form.first_name }}</dd>
  25. {% if form.first_name.help_text %}<dd>{{ form.first_name.help_text }}</dd>{% endif %}
  26. {% if form.first_name.errors %}<dd class="myerrors">{{ form.first_name.errors }}</dd>{% endif %}
  27. <dt>{{ form.last_name.label_tag }}<span style="color:red">*</span></dt>
  28. <dd>{{ form.last_name }}</dd>
  29. {% if form.last_name.help_text %}<dd>{{ form.last_name.help_text }}</dd>{% endif %}
  30. {% if form.last_name.errors %}<dd class="myerrors">{{ form.last_name.errors }}</dd>{% endif %}
  31. <dt>{{ form.password1.label_tag }}<span style="color:red">*</span></dt>
  32. <dd>{{ form.password1 }}</dd>
  33. {% if form.password1.help_text %}<dd>{{ form.password1.help_text }}</dd>{% endif %}
  34. {% if form.password1.errors %}<dd class="myerrors">{{ form.password1.errors }}</dd>{% endif %}
  35. <dt>{{ form.password2.label_tag }}<span style="color:red">*</span></dt>
  36. <dd>{{ form.password2 }}</dd>
  37. {% if form.password2.help_text %}<dd>{{ form.password2.help_text }}</dd>{% endif %}
  38. {% if form.password2.errors %}<dd class="myerrors">{{ form.password2.errors }}</dd>{% endif %}
  39. </dl>
  40. <input type="submit" value="{% trans "Create Account" %}" />
  41. </form>
  42. {% endblock %}