From 802913d5e4d40ee17054415bded02981055b651d Mon Sep 17 00:00:00 2001 From: "Anton D. Kachalov" Date: Fri, 26 Sep 2014 16:07:46 +0400 Subject: [PATCH] [templates/rest_framework/base.html] Separate `object-form' and `generic-content-form' IDs for POST and PUT forms Signed-off-by: Anton D. Kachalov --- .../templates/rest_framework/base.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/rest_framework/templates/rest_framework/base.html b/rest_framework/templates/rest_framework/base.html index a84ccf269..3628daa0e 100644 --- a/rest_framework/templates/rest_framework/base.html +++ b/rest_framework/templates/rest_framework/base.html @@ -142,16 +142,16 @@ {% if post_form %} {% endif %}
{% if post_form %} -
+
{% with form=post_form %}
@@ -166,7 +166,7 @@ {% endwith %}
{% endif %} -
+
{% with form=raw_data_post_form %}
@@ -188,16 +188,16 @@ {% if put_form %} {% endif %}
{% if put_form %} -
+
@@ -211,7 +211,7 @@
{% endif %} -
+
{% with form=raw_data_put_or_patch_form %}