Commit 5e87c731 authored by Jean-Baptiste Pasquier's avatar Jean-Baptiste Pasquier

Merge branch '36' into 'master'

feat: Add account registration link to login page...

See merge request !36
parents 3afc96cc 6226ae51
Pipeline #6804 passed with stage
in 27 seconds
......@@ -6,6 +6,7 @@
--text-color: #686B75;
--title-bottom: #E4E8ED;
--title-color: #36383B;
--error-color: #DD2C00;
}
html {
......
.sib-registration-btn {
width: 100% !important;
margin: 2em 0 0 0 !important;
}
.errorlist {
color: var(--error-color);
font-weight: bold;
}
\ No newline at end of file
......@@ -8,6 +8,13 @@
margin-top: 45px;
}
#content .sib-link.sib-register-link {
align-self: center;
font-size: 1.6rem;
font-weight: bold;
}
.other-login-title {
border-bottom:1px solid var(--title-bottom);
color: var(--title-color);
......
......@@ -5,6 +5,7 @@
{% block title %}{% trans "Register for an account" %}{% endblock %}
{% block supplementary_css %}
<link rel="stylesheet" href="{% static 'base.css' %}"/>
<link rel="stylesheet" href="{% static 'django_registration/registration_form.css' %}"/>
{% endblock %}
......@@ -12,7 +13,12 @@
<table>
<form method='post' action=''>{% csrf_token %}
{{ form }}
<tr><td></td><td><input type="submit" value="{% trans "Send activation email" %}" /></td>
<tr>
<td></td>
<td>
<input class="sib-registration-btn" type="submit" value="{% trans "Send activation email" %}"/>
</td>
</tr>
</form>
</table>
{% endblock %}
......@@ -59,5 +59,10 @@
<input type="hidden" name="next" value="{{ next }}"/>
</form>
</div>
<div class="flex-column">
<p class="other-login-title text-center">{% trans "Doesn't have an account yet?" %}</p>
<a class="sib-link sib-register-link" href="{% url 'django_registration_register' %}">{% trans "Register now!" %}</a>
</div>
</div>
{% endblock %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment