Skip to content
Snippets Groups Projects
Commit 8fa82bdb authored by Todd Dembrey's avatar Todd Dembrey
Browse files

Remove the old field template

parent fbce5f06
No related branches found
No related tags found
No related merge requests found
{% load bleach_tags %}
{% for field in fields %}
<div>
<h5>{{ field.field.label }}</h5>
{% if field.field.choices %}
<div>
{% for value in field.value %}
{% if forloop.first %}<ul>{% endif %}
<li>{{ value }}</li>
{% if forloop.last %}</ul>{% endif %}
{% endfor %}
</div>
{% else %}
<div>{{ field.value|bleach }}</div>
{% endif %}
</div>
{% endfor %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment