{% set modalView = modal_view|default(realisations is not empty ? 'list' : 'form') %} {% set hasRealisations = realisations is not empty %} {% set latestRealisation = hasRealisations ? realisations|first : null %} {% if actions is defined %} {% for action in actions %}
{% endfor %} {% endif %}