ui2022/schoolnow/review__cell--collapse.html.twig line 1

Open in your IDE?
  1. {% set html_id = _args.html_id|default('collapse-' ~ token()) %}
  2. {% set collapsed = _args.collapsed ?? true %}
  3. {% set disabled = _args.disabled ?? false %}
  4. {% if not disabled %}
  5.     <div class="blocklist__cell blocklist_arrow">
  6.         <div class="flex__wrap--center">
  7.             <a class="blocklist__chevron {% if collapsed %} collapsed{% endif %}" data-toggle="collapse" href="#{{ html_id }}">
  8.                 <i class="icon-glyph-chevron-right"></i>
  9.             </a>
  10.         </div>
  11.     </div>
  12.     <a class="blocklist__anchor" data-toggle="collapse" href="#{{ html_id }}"></a>
  13.     <div id="{{ html_id }}" class="w-100 blocklist__panel collapse{% if not collapsed %} show{% endif %}">
  14.         <div class="blockgroup-wrapper mt-0">
  15.             {% block content %}{% endblock %}
  16.         </div>
  17.     </div>
  18. {% endif %}