Source

django-authopenid / example / example / templates / registration / registration_form.html

Full commit
{% extends "base.html" %}
{% load i18n %}

{% block head %}


{% endblock %}


{% block content %}
{% if form.errors %}
    <div class="errors">
        <p>Error while submitting form</p>
        
    </div>
    <br>
{% endif %}

<h2>Make a choice:</h2>
<p> <a href="{% url registration_register %}">Register</a> | <a href="{% url user_signin %}">Sign-In</a></p>

<form action="" method="post">
    {% csrf_token %}
    <fieldset>
	    <legend>{% trans "Create a new account" %}</legend>
	    <table>
		    {{ form.as_table }}
	    </table>
	    <p><input type="submit" name="bsignup'" value="{% trans "Sign up" %}"> </p>
	 </fieldset>
</form>
{% endblock %}