2012-02-12 21:42:25 -08:00
{% extends "registration/registration_base.html" %}
2012-02-12 17:17:17 -08:00
2012-02-13 07:15:08 -08:00
{% block page-title %}Sign up - {{ block.super }}{% endblock %}
2012-02-12 17:17:17 -08:00
2012-02-12 21:42:25 -08:00
{% block body-class %}{{ block.super }} static{% endblock %}
2012-02-12 17:17:17 -08:00
{% block content %}
2012-02-18 11:54:46 -08:00
{% comment %}
2012-02-12 22:46:59 -08:00
< form class = "form-horizontal static-box" method = "post" action = "" >
2012-02-12 21:42:25 -08:00
{% if form.errors %}
{% if form.non_field_errors %}
< div class = "alert alert-error" >
{{ form.non_field_errors }}
< / div >
{% else %}
< div class = "alert alert-error" >
Please fix the errors below.
< / div >
{% endif %}
{% endif %}
< fieldset >
< legend > Sign up< / legend >
< div class = "control-group {% if form.errors.username %}error{% endif %}" >
< label class = "control-label" for = "id_username" > Username< / label >
< div class = "controls" >
{{ form.username }}
{% if form.errors.username %}
< span class = "help-inline" >
{% for error in form.errors.username %}
{{ error }}
{% endfor %}
< / span >
{% endif %}
< / div >
< / div >
< div class = "control-group {% if form.errors.email %}error{% endif %}" >
< label class = "control-label" for = "id_email" > Email address< / label >
< div class = "controls" >
{{ form.email }}
{% if form.errors.email %}
< span class = "help-inline" >
{% for error in form.errors.email %}
{{ error }}
{% endfor %}
< / span >
{% endif %}
< / div >
< / div >
< div class = "control-group {% if form.errors.password1 %}error{% endif %}" >
< label class = "control-label" l for = "id_password1" > Password< / label >
< div class = "controls" >
{{ form.password1 }}
{% if form.errors.password1 %}
< span class = "help-inline" >
{% for error in form.errors.password1 %}
{{ error }}
{% endfor %}
< / span >
{% endif %}
< / div >
2012-02-12 17:17:17 -08:00
< / div >
2012-02-12 21:42:25 -08:00
< div class = "control-group {% if form.errors.password2 %}error{% endif %}" >
< label class = "control-label" for = "id_password2" > Confirm password< / label >
< div class = "controls" >
{{ form.password2 }}
{% if form.errors.password2 %}
< span class = "help-inline" >
{% for error in form.errors.password2 %}
{{ error }}
{% endfor %}
< / span >
2012-02-12 17:17:17 -08:00
{% endif %}
2012-02-12 21:42:25 -08:00
< / div >
2012-02-12 17:17:17 -08:00
< / div >
2012-02-12 21:42:25 -08:00
< div class = "form-actions group" >
2012-02-12 22:46:59 -08:00
< a class = "btn pull-right" href = "/login/" > Log in< / a >
< button class = "btn btn-primary" type = "submit" > Sign up< / button >
2012-02-12 17:17:17 -08:00
< / div >
2012-02-12 21:42:25 -08:00
< / fieldset >
{% csrf_token %}
< / form >
2012-02-18 11:54:46 -08:00
{% endcomment %}
< div class = "static-box" >
< div class = "alert alert-info alert-alone" >
Registration is disabled for the beta site. Sign up on the regular site, and you'll have an account on the new site once we go live: < a href = "http://snipt.net/signup/" > http://snipt.net/signup/< / a > .
< / div >
< / div >
2012-02-12 17:17:17 -08:00
{% endblock %}