1 {% load maintain_extras %}
3 {% if wrapper.children %}
4 {% for field, wrapper in wrapper.children.items %}
5 {% if instance|get:field %}
6 {% with instance|get:field as instance %}
8 {% for field, wrapper in wrapper.many_to_one.items %}
9 {% with instance|get:field as instance %}
10 <div><label>{{wrapper.name}}:
</label>
12 <a href=
"{{ROOT}}/o/{{wrapper.name}}/{{instance.id}}" class=
"model">
13 {% for field in wrapper.fields %}
14 <b>{{field}}:
</b> {{ instance|get:field }}
18 {% for field in wrapper.fields %}
19 <b>{{field}}:
</b> {{ instance|get:field }}
26 {% for field in wrapper.fields %}
27 <div><label>{{field|capfirst}}:
</label>{{instance|get:field}}
</div>
33 {% for field in wrapper.fields %}
34 <div><label>{{field|capfirst}}:
</label>{{instance|get:field}}
</div>