2012-03-02 14:03:55 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% load url from future %}
|
|
|
|
{% load i18n %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
{% if form.errors %}
|
|
|
|
<div class="ui-widget">
|
|
|
|
<div style="padding: 0pt 0.7em;" class="ui-state-error ui-corner-all">
|
|
|
|
<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-alert"></span>
|
|
|
|
{% trans "Please fix errors in registration form." %}
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
2012-03-06 15:38:52 +01:00
|
|
|
<form action="{% url 'weblate_register' %}" method="post" accept-charset="utf-8">
|
2012-03-02 14:03:55 +01:00
|
|
|
{% csrf_token %}
|
2012-03-06 15:30:32 +01:00
|
|
|
<table>
|
|
|
|
{{ form.as_table }}
|
|
|
|
</table>
|
|
|
|
<p>{% trans "By registering you agree to use your name and email in Git commits." %}</p>
|
2012-03-06 15:36:52 +01:00
|
|
|
<p><input type="submit" value="{% trans 'Register' %}" class="button" /></p>
|
2012-03-02 14:03:55 +01:00
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
|
|
{% endblock %}
|