2021-02-28 02:48:10 +00:00
|
|
|
{% load i18n %}
|
2020-10-01 03:47:26 +00:00
|
|
|
{% csrf_token %}
|
|
|
|
<div class="field">
|
2021-02-28 02:48:10 +00:00
|
|
|
<label class="label" for="id_localname_register">{% trans "Username:" %}</label>
|
2020-10-01 03:47:26 +00:00
|
|
|
<div class="control">
|
2020-12-24 19:39:27 +00:00
|
|
|
<input type="text" name="localname" maxlength="150" class="input" required="" id="id_localname_register" value="{% if register_form.localname.value %}{{ register_form.localname.value }}{% endif %}">
|
2020-10-01 03:47:26 +00:00
|
|
|
</div>
|
2020-12-24 19:39:27 +00:00
|
|
|
{% for error in register_form.localname.errors %}
|
2020-10-04 22:10:34 +00:00
|
|
|
<p class="help is-danger">{{ error | escape }}</p>
|
|
|
|
{% endfor %}
|
2020-10-01 03:47:26 +00:00
|
|
|
</div>
|
|
|
|
<div class="field">
|
2021-02-28 02:48:10 +00:00
|
|
|
<label class="label" for="id_email_register">{% trans "Email address:" %}</label>
|
2020-10-01 03:47:26 +00:00
|
|
|
<div class="control">
|
2021-08-07 14:43:30 +00:00
|
|
|
<input type="email" name="email" maxlength="254" class="input" id="id_email_register" value="{% if register_form.email.value %}{{ register_form.email.value }}{% endif %}" required>
|
2020-10-04 22:10:34 +00:00
|
|
|
{% for error in register_form.email.errors %}
|
|
|
|
<p class="help is-danger">{{ error | escape }}</p>
|
|
|
|
{% endfor %}
|
2020-10-01 03:47:26 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="field">
|
2021-02-28 02:48:10 +00:00
|
|
|
<label class="label" for="id_password_register">{% trans "Password:" %}</label>
|
2020-10-01 03:47:26 +00:00
|
|
|
<div class="control">
|
|
|
|
<input type="password" name="password" maxlength="128" class="input" required="" id="id_password_register">
|
2020-10-04 22:10:34 +00:00
|
|
|
{% for error in register_form.password.errors %}
|
|
|
|
<p class="help is-danger">{{ error | escape }}</p>
|
|
|
|
{% endfor %}
|
2020-10-01 03:47:26 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="field is-grouped">
|
|
|
|
<div class="control">
|
2021-02-28 02:48:10 +00:00
|
|
|
<button class="button is-primary" type="submit">{% trans "Sign Up" %}</button>
|
2020-10-01 03:47:26 +00:00
|
|
|
</div>
|
|
|
|
</div>
|