From efb623af0bcb47d510501c282e1326b11343a29c Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sat, 22 Sep 2012 22:27:04 -0400 Subject: site reorg --- .../templates/admin/includes/fieldset_inline.html | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 app/lib/grappelli/templates/admin/includes/fieldset_inline.html (limited to 'app/lib/grappelli/templates/admin/includes/fieldset_inline.html') diff --git a/app/lib/grappelli/templates/admin/includes/fieldset_inline.html b/app/lib/grappelli/templates/admin/includes/fieldset_inline.html new file mode 100644 index 0000000..137dce9 --- /dev/null +++ b/app/lib/grappelli/templates/admin/includes/fieldset_inline.html @@ -0,0 +1,37 @@ +{% spaceless %} +
+ {% if fieldset.name %}

{{ fieldset.name }}

{% endif %} + {% if fieldset.description %}
{{ fieldset.description|safe }}
{% endif %} + {% for line in fieldset %} +
+ {% for field in line %} + + {% if field.is_checkbox %} +
 
+
+ {{ field.field }}{{ field.label_tag }} + {{ line.errors }} + {% if field.field.field.help_text %} +

{{ field.field.field.help_text|safe }}

+ {% endif %} +
+ {% else %} +
{{ field.label_tag }}
+
+ {% if field.is_readonly %} +

{{ field.contents }}

+ {% else %} + {{ field.field }} + {% endif %} + {{ line.errors }} + {% if field.field.field.help_text %} +

{{ field.field.field.help_text|safe }}

+ {% endif %} +
+ {% endif %} +
+ {% endfor %} + + {% endfor %} +
+{% endspaceless %} \ No newline at end of file -- cgit v1.2.3-70-g09d2