git.ithinksw.org
/
philo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor correction to LazyNode's use of subpath to avoid NameErrors.
[philo.git]
/
templates
/
admin
/
philo
/
edit_inline
/
tabular_attribute.html
diff --git
a/templates/admin/philo/edit_inline/tabular_attribute.html
b/templates/admin/philo/edit_inline/tabular_attribute.html
index
defdffb
..
22a4ee3
100644
(file)
--- a/
templates/admin/philo/edit_inline/tabular_attribute.html
+++ b/
templates/admin/philo/edit_inline/tabular_attribute.html
@@
-55,8
+55,8
@@
{% endfor %}
{% endfor %}
{% endfor %}
{% 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 %}
{% if inline_admin_formset.formset.can_delete %}
<td class="delete">{% if inline_admin_form.original %}{{ inline_admin_form.deletion_field.field }}{% endif %}</td>
{% endif %}