conditionally display certain fields, just like the form
This commit is contained in:
parent
61cdbf7f62
commit
021e7512b2
@ -59,6 +59,7 @@
|
|||||||
<dd>{{ data['details_of_use']['jedi_migration'] or RequiredLabel() }}</dd>
|
<dd>{{ data['details_of_use']['jedi_migration'] or RequiredLabel() }}</dd>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{% if data['details_of_use']['jedi_migration'] == 'yes' %}
|
||||||
<div>
|
<div>
|
||||||
<dt>Rationalization of Software Systems</dt>
|
<dt>Rationalization of Software Systems</dt>
|
||||||
<dd>{{ data['details_of_use']['rationalization_software_systems'] or RequiredLabel() }}</dd>
|
<dd>{{ data['details_of_use']['rationalization_software_systems'] or RequiredLabel() }}</dd>
|
||||||
@ -71,10 +72,12 @@
|
|||||||
|
|
||||||
|
|
||||||
{% if data['details_of_use']['technical_support_team'] == 'yes' %}
|
{% if data['details_of_use']['technical_support_team'] == 'yes' %}
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<dt>Organization Providing Assistance</dt>
|
<dt>Organization Providing Assistance</dt>
|
||||||
<dd>{{ data['details_of_use']['organization_providing_assistance'] or RequiredLabel() }}</dd>
|
<dd>{{ data['details_of_use']['organization_providing_assistance'] or RequiredLabel() }}</dd>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
@ -92,11 +95,15 @@
|
|||||||
<dd>{{ data['details_of_use']['expected_completion_date'] or RequiredLabel() }}</dd>
|
<dd>{{ data['details_of_use']['expected_completion_date'] or RequiredLabel() }}</dd>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{% else %}
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<dt>Cloud Native</dt>
|
<dt>Cloud Native</dt>
|
||||||
<dd>{{ data['details_of_use']['cloud_native'] or RequiredLabel() }}</dd>
|
<dd>{{ data['details_of_use']['cloud_native'] or RequiredLabel() }}</dd>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<dt>Estimated Monthly Spend</dt>
|
<dt>Estimated Monthly Spend</dt>
|
||||||
<dd>{{ data['details_of_use']['estimated_monthly_spend'] or RequiredLabel() }}</dd>
|
<dd>{{ data['details_of_use']['estimated_monthly_spend'] or RequiredLabel() }}</dd>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user