display zeroes in the request review template

This commit is contained in:
dandds 2018-09-14 13:14:10 -04:00
parent bd0cf00a40
commit 3b2251f8b2

View File

@ -6,8 +6,9 @@
<div> <div>
<dt>{{ title | safe }}</dt> <dt>{{ title | safe }}</dt>
<dd> <dd>
{% if data[section] and data[section][item_name] %} {% set value = data.get(section, {}).get(item_name) %}
{{ data[section][item_name] | findFilter(filter, filter_args) }} {% if value is not none %}
{{ value | findFilter(filter, filter_args) }}
{% else %} {% else %}
{{ RequiredLabel() }} {{ RequiredLabel() }}
{% endif %} {% endif %}