ui2022/schoolnow/header.html.twig line 1

Open in your IDE?
  1. {% set back = _args.back|default(null) %}
  2. {% set title = _args.title %}
  3. {% if back or block('actions') is defined %}
  4.     <div class="row no-gutters">
  5.         {% if back %}
  6.             <div class="mb-3 mb-sm-0 col-12 col-sm flex-grow-1">
  7.                 <a class="uilib-backbtn" href="{{ back.link|default('#')|e('html_attr') }}">
  8.                     <i class="icon-angleright-light"></i>
  9.                     {{ back.text }}
  10.                 </a>
  11.             </div>
  12.         {% endif %}
  13.         {% if block('actions') is defined %}
  14.             <div class="col-12 col-sm-auto ml-sm-auto">
  15.                 {{ block('actions') }}
  16.             </div>
  17.         {% endif %}
  18.     </div>
  19. {% endif %}
  20. <div class="row no-gutters">
  21.     <div class="mb-3 mb-sm-0 col-12 col-sm flex-grow-1">
  22.         <h1>{{ title }}</h1>
  23.     </div>
  24. </div>