From 4660ce5a6930e07899ed083801845ee4c44c09df Mon Sep 17 00:00:00 2001 From: CHI Cheng Date: Wed, 2 May 2018 23:20:04 +1000 Subject: Fixed #29375 -- Removed empty action attribute on HTML forms. --- tests/templates/form_view.html | 2 +- tests/templates/login.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/templates') diff --git a/tests/templates/form_view.html b/tests/templates/form_view.html index 1ef410fb71..16945a018c 100644 --- a/tests/templates/form_view.html +++ b/tests/templates/form_view.html @@ -2,7 +2,7 @@ {% block title %}Submit data{% endblock %} {% block content %}

{{ message }}

-
+ {% if form.errors %}

Please correct the errors below:

{% endif %} diff --git a/tests/templates/login.html b/tests/templates/login.html index d9909aea60..ddc3224009 100644 --- a/tests/templates/login.html +++ b/tests/templates/login.html @@ -5,7 +5,7 @@

Your username and password didn't match. Please try again.

{% endif %} - + -- cgit v1.2.1
{{ form.username }}
{{ form.password }}