diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-01-04 12:39:02 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-01-11 17:30:46 +0100 |
commit | 4dd953b8327d684107b6485cef2fb69cd7663603 (patch) | |
tree | 43e0e2ea68f493c6df0c13f81170e55e78901b25 /ishtar_common/templates/ishtar/blocks/window_field_flex_multiple.html | |
parent | 61b7c6ae0406edfed3ddafc018f4216e6d3d7ea2 (diff) | |
download | Ishtar-4dd953b8327d684107b6485cef2fb69cd7663603.tar.bz2 Ishtar-4dd953b8327d684107b6485cef2fb69cd7663603.zip |
Sheet: refactor display of fields (more compact)
Diffstat (limited to 'ishtar_common/templates/ishtar/blocks/window_field_flex_multiple.html')
-rw-r--r-- | ishtar_common/templates/ishtar/blocks/window_field_flex_multiple.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ishtar_common/templates/ishtar/blocks/window_field_flex_multiple.html b/ishtar_common/templates/ishtar/blocks/window_field_flex_multiple.html index 010200837..abf03ead1 100644 --- a/ishtar_common/templates/ishtar/blocks/window_field_flex_multiple.html +++ b/ishtar_common/templates/ishtar/blocks/window_field_flex_multiple.html @@ -1,7 +1,7 @@ {% load i18n %}{% if data.count %} -<dl class="col-12 {% if size == 2 %}col-lg-6{% else %}col-md-6 col-lg-4{% endif %} d-flex flex-wrap row"> - <dt class="col-5">{% trans caption %}</dt> - <dd class="col-7">{% for d in data.all %} +<dl class="col-12 {% if size == 2 %}col-lg-6{% else %}col-md-6 col-lg-3{% endif %} flex-wrap"> + <dt>{% trans caption %}</dt> + <dd>{% for d in data.all %} {% if forloop.counter0 %} ; {% endif %}{{ d }} {% endfor %}</dd> </dl> |