div around fields and static fields at top, for orgs and cases

This commit is contained in:
2022-05-16 20:18:49 +01:00
parent d483b3f47e
commit cfec9be05c
5 changed files with 28 additions and 26 deletions

View File

@ -16,7 +16,10 @@
*/
#}
<div{{ attributes.addClass('oc_case') }}>
{% if content %}
{{- content -}}
{% if normal_fields %}
<div id='static_data'>{{- normal_fields -}}</div>
{% endif %}
{% if extra_fields %}
<div id='dynamic_data'>{{- extra_fields -}}</div>
{% endif %}
</div>