Put span inside <td> tag instead the other way around

This commit is contained in:
Roberto Rosario
2011-03-16 16:45:03 -04:00
parent 066973bd38
commit 4f8c34dd2d

View File

@@ -62,9 +62,11 @@
{% endif %}
{% for column in extra_columns %}
{% if column.keep_together %}
<div class="nowrap" style="word-wrap: normal">
<td>{{ object|object_property:column.attribute|safe|make_non_breakable }}</td>
</div>
<td>
<span class="nowrap" style="word-wrap: normal">
{{ object|object_property:column.attribute|safe|make_non_breakable }}
</span>
</td>
{% else %}
<td>{{ object|object_property:column.attribute|safe }}</td>
{% endif %}