display zeroes in the request review template
This commit is contained in:
parent
bd0cf00a40
commit
3b2251f8b2
@ -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 %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user