{# LIBRARIES #}
{{ attach_library('ui_patterns/resp_carousel.resp_carousel_lib') }}

{# VARIABLES #}

{% set slide_1 %}{{ pattern_preview('plain_card', {'title': 'Card A'}) }}{% endset %}
{% set slide_2 %}{{ pattern_preview('plain_card', {'title': 'Card B'}) }}{% endset %}

{% set slides = [
  {'slide': slide_1},
  {'slide': slide_2},
] %}

{# TEMPLATE #}

{{ pattern('bs_carousel', {
  'pid': cid,
  'slides': slides,
  'data_ride': 'false',
  'show_indicators': true,
  'show_controls': false,
  'slide_classes': 'col-lg-6 col-md-6 col-sm-12 col-xs-12',
  'slide_wrapper_classes': 'row',
  'carousel_class': 'crsl-dis-md-up',
}) }}

