aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/templates
diff options
context:
space:
mode:
authorYuri Prezument2013-08-12 15:41:48 +0300
committerYuri Prezument2013-08-12 15:44:00 +0300
commitcd5f1bb229f82cb1bf00c322fd5b688cf0638e97 (patch)
tree19b422ffc9d0a4fb5495a92d8c35d842407b371b /rest_framework/templates
parent54b7b6760c40d9820268207a44996e2118430744 (diff)
downloaddjango-rest-framework-cd5f1bb229f82cb1bf00c322fd5b688cf0638e97.tar.bz2
Fix PATCH button title in template
Diffstat (limited to 'rest_framework/templates')
-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>