dr.botzo/templates/registration/registration_form.html

28 lines
901 B
HTML

{% extends "registration/registration_base.html" %}
{% load i18n %}
{% load bootstrap3 %}
{% block title %}{% trans "Register for an account" %}{% endblock %}
{% block registration_content %}
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
<input type="hidden" name="next" value="{{ next }}" />
{% buttons submit='Sign Up' reset='Cancel' layout='horizontal' %}{% endbuttons %}
</form>
{% endblock %}
{% comment %}
**registration/registration_form.html**
Used to show the form users will fill out to register. By default, has
the following context:
``form``
The registration form. This will be an instance of some subclass
of ``django.forms.Form``; consult `Django's forms documentation
<http://docs.djangoproject.com/en/dev/topics/forms/>`_ for
information on how to display this in a template.
{% endcomment %}