Skip to content

Commit

Permalink
Add question on the register page, if user already have an account
Browse files Browse the repository at this point in the history
Ref: #3443
  • Loading branch information
theskumar committed Jun 25, 2023
1 parent 27ca628 commit 8c1d490
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion hypha/apply/users/templates/users/register.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<div class="wrapper wrapper--error">{{ form.non_field_errors.as_text }}</div>
{% endif %}

<form class="form form--with-p-tags form--user-login" method="post">
<form class="form form--with-p-tags" method="post">
{% csrf_token %}
{% for field in form %}
{%if field.id_for_label != 'id_is_superuser' and field.label != 'Groups' %}
Expand All @@ -21,5 +21,8 @@
{% endfor %}
<button class="link link--button-secondary" type="submit">{% trans "Register" %}</button>
</form>
<p>
Already have an account? <a href="{% url 'users_public:login' %}">Log in</a>
</p>
</div>
{% endblock %}

0 comments on commit 8c1d490

Please sign in to comment.