Upped the django requirement to 1.3. Brought over grappelli use of the grp_tags libra...
[philo.git] / templates / admin / philo / edit_inline / tabular_attribute.html
index defdffb..22a4ee3 100644 (file)
@@ -55,8 +55,8 @@
             {% endfor %}
           {% endfor %}
         {% endfor %}
-        <td>{{ inline_admin_form.form.content_type }}</td>
-        <td>{{ inline_admin_form.form.value }}</td>
+        <td>{% with inline_admin_form.form.content_type as field %}{{ field.errors.as_ul }}{{ field }}{% endwith %}</td>
+        <td>{% with inline_admin_form.form.value as field %}{{ field.errors.as_ul }}{{ field }}{% endwith %}</td>
         {% if inline_admin_formset.formset.can_delete %}
           <td class="delete">{% if inline_admin_form.original %}{{ inline_admin_form.deletion_field.field }}{% endif %}</td>
         {% endif %}