From 92b091ea16e4d75a6641b1164855230dea0dae75 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Wed, 3 Oct 2012 16:19:07 +0100 Subject: [PATCH] Tweak styling of browseable API --- rest_framework/templates/rest_framework/base.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/rest_framework/templates/rest_framework/base.html b/rest_framework/templates/rest_framework/base.html index 867051e6b..bc6c2e4ac 100644 --- a/rest_framework/templates/rest_framework/base.html +++ b/rest_framework/templates/rest_framework/base.html @@ -122,6 +122,7 @@ {% if response.status_code != 403 %} {% if post_form %} +

POST: {{ name }}

@@ -131,7 +132,7 @@
{{ field.label_tag|add_class:"control-label" }}
- {{ field }} + {{ field|add_class:"input-xxlarge" }} {{ field.help_text }} {{ field.errors|add_class:"help-block" }}
@@ -142,9 +143,11 @@
+
{% endif %} {% if put_form %} +

PUT: {{ name }}

@@ -155,7 +158,7 @@
{{ field.label_tag|add_class:"control-label" }}
- {{ field }} + {{ field|add_class:"input-xxlarge" }} {{ field.help_text }} {{ field.errors|add_class:"help-block" }}
@@ -167,6 +170,7 @@
+
{% endif %} {% endif %}