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>
<dt>{{ title | safe }}</dt>
<dd>
{% if data[section] and data[section][item_name] %}
{{ data[section][item_name] | findFilter(filter, filter_args) }}
{% set value = data.get(section, {}).get(item_name) %}
{% if value is not none %}
{{ value | findFilter(filter, filter_args) }}
{% else %}
{{ RequiredLabel() }}
{% endif %}