{{ attach_library('ui_patterns/libraries.bs_modal') }}
{{ attach_library('ui_patterns/libraries.bs_buttons') }}
{{ attach_library('ui_patterns/tm_modal.tm_modal_lib') }}
{{ attach_library('ui_patterns/interstitial_message_modal.interstitial_message_modal_lib') }}

{% set confirm_button_type = confirm_button_type|default('primary') %}

{% embed '@organisms/tm-bs/modal/modal.twig' %}

  {% set uid = 'interstitial-modal' %}
  {% set title = 'Placeholder' %}
  {% set title_tag = 'h2' %}
  {% set body = '<p>Placeholder text</p>' %}
  {% set size = 'lg' %}
  {% set showclose = true %}
  {% set showbutton = false %}

  {% set footer %}
    {% include '@atoms/form/button/button.twig' with {
      'text': 'Confirm',
      'value': 'Confirm',
      'status': 'light',
      'class': 'hand-of',
      'size': 'lg'
    } only %}
    {% include '@atoms/form/button/button.twig' with {
      'text': 'Confirm',
      'status': confirm_button_type,
      'class': 'confirm',
      'size': 'lg'
    } only %}
  {% endset %}

{% endembed %}
