aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework
diff options
context:
space:
mode:
authorTom Christie2013-08-12 05:50:38 -0700
committerTom Christie2013-08-12 05:50:38 -0700
commit5a03e2c318cd9daf9e50ca22de966e41c95d506d (patch)
tree19b422ffc9d0a4fb5495a92d8c35d842407b371b /rest_framework
parent54b7b6760c40d9820268207a44996e2118430744 (diff)
parentcd5f1bb229f82cb1bf00c322fd5b688cf0638e97 (diff)
downloaddjango-rest-framework-5a03e2c318cd9daf9e50ca22de966e41c95d506d.tar.bz2
Merge pull request #1031 from yprez/template-fix-patch-label
Fix PATCH button title in the template
Diffstat (limited to 'rest_framework')
-rw-r--r--rest_framework/templates/rest_framework/base.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/templates/rest_framework/base.html b/rest_framework/templates/rest_framework/base.html
index 9d939e73..51f9c291 100644
--- a/rest_framework/templates/rest_framework/base.html
+++ b/rest_framework/templates/rest_framework/base.html
@@ -196,7 +196,7 @@
<button class="btn btn-primary js-tooltip" name="{{ api_settings.FORM_METHOD_OVERRIDE }}" value="PUT" title="Make a PUT request on the {{ name }} resource">PUT</button>
{% endif %}
{% if raw_data_patch_form %}
- <button class="btn btn-primary js-tooltip" name="{{ api_settings.FORM_METHOD_OVERRIDE }}" value="PATCH" title="Make a PUT request on the {{ name }} resource">PATCH</button>
+ <button class="btn btn-primary js-tooltip" name="{{ api_settings.FORM_METHOD_OVERRIDE }}" value="PATCH" title="Make a PATCH request on the {{ name }} resource">PATCH</button>
{% endif %}
</div>
</fieldset>