replace dropdown for selecting reasons and use chillEntity for reason rendering

This commit is contained in:
2020-04-21 14:41:40 +02:00
parent 544466d504
commit a9349becf7
14 changed files with 186 additions and 53 deletions

View File

@@ -20,7 +20,7 @@
{%- if activity.reasons is empty -%}
<dd><span class="chill-no-data-statement">{{ 'No reason associated'|trans }}</span></dd>
{%- else -%}
<dd>{% for r in activity.reasons %}{{ m.reason(r) }} {% endfor %}</dd>
<dd>{% for r in activity.reasons %}{{ r|chill_entity_render_box }} {% endfor %}</dd>
{%- endif -%}
</dl>