You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
402B

  1. {% set user = entity.instance %}
  2. {% set city = user.extraInfoCity %}
  3. {% if city is not empty %}
  4. <span class="badge badge-secondary">{{ city }}</span>
  5. {% elseif user.addresses is not empty %}
  6. {% for addresse in user.addresses %}
  7. <span class="badge badge-secondary">{{ addresse.city }}</span>
  8. {% endfor %}
  9. {% else %}
  10. <span class="badge badge-secondary">Aucun(e)</span>
  11. {% endif %}