diff --git a/accounts/templates/accounts/otp_login.html b/accounts/templates/accounts/otp_login.html index bd7ce61..5f54f36 100644 --- a/accounts/templates/accounts/otp_login.html +++ b/accounts/templates/accounts/otp_login.html @@ -21,7 +21,8 @@ {% bootstrap_form_errors form %} {% endif %} -
{% csrf_token %} + + {% csrf_token %}

{% trans "Sign In" %}

{% bootstrap_field form.username layout='inline' %} {% bootstrap_field form.password layout='inline' %} @@ -29,9 +30,28 @@ {% trans "I do not have/lost my OTP!" %}
- +
-{% endblock content %} \ No newline at end of file +{% endblock content %} + +{% block script %} + +{% endblock script%} diff --git a/accounts/templates/login.html b/accounts/templates/login.html index 1a7da2d..28e6769 100644 --- a/accounts/templates/login.html +++ b/accounts/templates/login.html @@ -22,15 +22,34 @@ {% trans "Incorrect username or password." %} {% endif %} -
{% csrf_token %} + {% csrf_token %}

{% trans "Sign In" %}

- +
-{% endblock %} \ No newline at end of file +{% endblock %} + +{% block script %} + +{% endblock script%} diff --git a/instances/templates/create_inst_block.html b/instances/templates/create_inst_block.html index 0077001..b2b8a06 100644 --- a/instances/templates/create_inst_block.html +++ b/instances/templates/create_inst_block.html @@ -12,15 +12,14 @@