<!-- Modal -->
{% set informationPopupData = getInformationPopupData() %}
<div class="modal fade" id="infoForUserModal" data-backdrop="static" data-keyboard="false" tabindex="-1" role="dialog" aria-labelledby="infoForUserModalTitle" aria-hidden="true">
  <div class="modal-dialog modal-dialog-centered" role="document">
    <div class="modal-content">
      {% if informationPopupData %}
        <div class="modal-header">
          <h5 class="modal-title" id="infoForUserModalTitle">{{ informationPopupData.title }}</h5>
        </div>
        <div class="modal-body">
          {{ informationPopupData.content|raw }}
        </div>
        <div class="modal-footer">
          <a href='{{ path('set_user_validated_information_popup') }}' class="btn btn-primary">{{ informationPopupData.validationButtonText }}</a>
          <button type="button" class="btn btn-secondary" data-dismiss="modal">{{ informationPopupData.closingButtonText }}</button>
        </div>
      {% endif %}
    </div>
  </div>
</div>