|
1234567891011 |
- {% set user = entity.instance %}
- {% set city = user.extraInfoCity %}
- {% if city is not empty %}
- <span class="badge badge-secondary">{{ city }}</span>
- {% elseif user.addresses is not empty %}
- {% for addresse in user.addresses %}
- <span class="badge badge-secondary">{{ addresse.city }}</span>
- {% endfor %}
- {% else %}
- <span class="badge badge-secondary">Aucun(e)</span>
- {% endif %}
|