diff options
Diffstat (limited to 'rest_framework')
| -rw-r--r-- | rest_framework/templates/rest_framework/base.html | 4 | 
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>  | 
