{{ attach_library('ui_patterns/reveal_all.reveal_all_lib') }}

<div class="reveal-all mb-4 {{ bottom_fade != 'none' ? ' ra-fade ra-fade-' ~ bottom_fade : '' }}">
  <div class="ra-init-content">
    {{ initial_content }}
  </div>
  {% include '@molecules/tm-bs/collapse/collapse.twig' with {
    'content_first': true,
    'content': hidden_content,
    'toggle': 'chevron',
    'level': 'inline',
    'label': show_text,
    'hide_label': hide_text,
    'aiid': 'ra-' ~ random(),
    'content_classes': 'ra-collapse',
  } only %}
</div>
