fixed signup button and autofocus on user input fields
This commit is contained in:
parent
c14dd04261
commit
edd47873f7
@ -29,12 +29,16 @@
|
||||
{% endif %}
|
||||
|
||||
<button class="btn btn-success" type="submit">{% trans "Sign In" %}</button>
|
||||
|
||||
{% if SIGNUP_ENABLED %}
|
||||
<a class="btn btn-secondary" href="{% url 'account_signup' %}">{% trans "Sign Up" %}</a>
|
||||
{% endif %}
|
||||
|
||||
{% if EMAIL_ENABLED %}
|
||||
<a class="btn btn-warning float-right d-none d-xl-block d-lg-block"
|
||||
href="{% url 'account_reset_password' %}">{% trans "Reset My Password" %}</a>
|
||||
<p class="d-xl-none d-lg-none">{% trans 'Lost your password?' %} <a href="{% url 'account_reset_password' %}">{% trans "Reset My Password" %}</a></p>
|
||||
<p class="d-xl-none d-lg-none">{% trans 'Lost your password?' %} <a
|
||||
href="{% url 'account_reset_password' %}">{% trans "Reset My Password" %}</a></p>
|
||||
{% endif %}
|
||||
</form>
|
||||
</div>
|
||||
@ -62,5 +66,8 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<script>
|
||||
$('#id_login').focus()
|
||||
</script>
|
||||
|
||||
{% endblock %}
|
@ -71,4 +71,8 @@
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
$('#id_username').focus()
|
||||
</script>
|
||||
{% endblock %}
|
Loading…
Reference in New Issue
Block a user