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
  • Loading branch information
theskumar authored Jun 27, 2023
1 parent 27ca628 commit d15f4e9
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>
{% trans "Already have an account?" %} <a href="{% url 'users_public:login' %}"> {% trans "Log in" %}</a>
</p>
</div>
{% endblock %}

0 comments on commit d15f4e9

Please sign in to comment.