From 5f580cad523a4133e9805a7dfac4bf239d295a1e Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Mon, 17 Nov 2014 18:17:44 +0000 Subject: [PATCH] Remove class='form-control' for file inputs. Closes #2065. --- rest_framework/templates/rest_framework/horizontal/input.html | 2 +- rest_framework/templates/rest_framework/inline/input.html | 2 +- rest_framework/templates/rest_framework/vertical/input.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rest_framework/templates/rest_framework/horizontal/input.html b/rest_framework/templates/rest_framework/horizontal/input.html index df4aa40fc..c41cd523a 100644 --- a/rest_framework/templates/rest_framework/horizontal/input.html +++ b/rest_framework/templates/rest_framework/horizontal/input.html @@ -3,7 +3,7 @@ {% endif %}
- + {% if field.errors %} {% for error in field.errors %}{{ error }}{% endfor %} {% endif %} diff --git a/rest_framework/templates/rest_framework/inline/input.html b/rest_framework/templates/rest_framework/inline/input.html index f8ec4faf2..de85ba485 100644 --- a/rest_framework/templates/rest_framework/inline/input.html +++ b/rest_framework/templates/rest_framework/inline/input.html @@ -2,5 +2,5 @@ {% if field.label %} {% endif %} - +
diff --git a/rest_framework/templates/rest_framework/vertical/input.html b/rest_framework/templates/rest_framework/vertical/input.html index e1e21ca1f..43cccd3ea 100644 --- a/rest_framework/templates/rest_framework/vertical/input.html +++ b/rest_framework/templates/rest_framework/vertical/input.html @@ -2,7 +2,7 @@ {% if field.label %} {% endif %} - + {% if field.errors %} {% for error in field.errors %}{{ error }}{% endfor %} {% endif %}