aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Christie2014-08-05 17:40:04 +0100
committerTom Christie2014-08-05 17:40:04 +0100
commit0ae55902eeee3339fa42b48b97b675b5541b64c0 (patch)
treec36e5feecd92505f4b6fb1e559a89c6511fd8117
parent83597a4b0f80f6766d49c95d0102896af487f78c (diff)
parent2d6469348de71f04507f00a5e0e608ae49829dd1 (diff)
downloaddjango-rest-framework-0ae55902eeee3339fa42b48b97b675b5541b64c0.tar.bz2
Merge pull request #1732 from jalan/master
Remove duplicate class attributes
-rw-r--r--rest_framework/templates/rest_framework/base.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/rest_framework/templates/rest_framework/base.html b/rest_framework/templates/rest_framework/base.html
index 7067ee2f..e96fa8ec 100644
--- a/rest_framework/templates/rest_framework/base.html
+++ b/rest_framework/templates/rest_framework/base.html
@@ -93,7 +93,7 @@
{% endif %}
{% if options_form %}
- <form class="button-form" action="{{ request.get_full_path }}" method="POST" class="pull-right">
+ <form class="button-form" action="{{ request.get_full_path }}" method="POST">
{% csrf_token %}
<input type="hidden" name="{{ api_settings.FORM_METHOD_OVERRIDE }}" value="OPTIONS" />
<button class="btn btn-primary js-tooltip" title="Make an OPTIONS request on the {{ name }} resource">OPTIONS</button>
@@ -101,7 +101,7 @@
{% endif %}
{% if delete_form %}
- <form class="button-form" action="{{ request.get_full_path }}" method="POST" class="pull-right">
+ <form class="button-form" action="{{ request.get_full_path }}" method="POST">
{% csrf_token %}
<input type="hidden" name="{{ api_settings.FORM_METHOD_OVERRIDE }}" value="DELETE" />
<button class="btn btn-danger js-tooltip" title="Make a DELETE request on the {{ name }} resource">DELETE</button>