All of my work from commits: dd4a194, 692644a, 4a60203, 5de46bc, 152042d, 64a2d4e...
[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 %}