You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

layout.html.twig 1.2KB

1234567891011121314151617181920212223242526272829
  1. {% extends '@LcSov/adminlte/layout.html.twig' %}
  2. {% block navbar_header %}
  3. {{ parent() }}
  4. <nav class="navbar navbar-expand navbar-light main-header">
  5. <ul class="navbar-nav">
  6. {% for section in carac_get_sections() %}
  7. <li class="nav-item d-none d-sm-inline-block">
  8. {% set form_switch_section = carac_get_form_switch_section(section) %}
  9. {% form_theme form_switch_section '@LcSov/adminlte/crud/form_theme.html.twig' %}
  10. {{ form_start(form_switch_section) }}
  11. {{ form(form_switch_section) }}
  12. {{ form_end(form_switch_section) }}
  13. </li>
  14. {% endfor %}
  15. </ul>
  16. <ul class="navbar-nav ml-auto">
  17. <li class="nav-item nav-switch-merchant">
  18. <i class="fa fa-store"></i>
  19. {% set form_switch_merchant = carac_get_form_switch_merchant('admin') %}
  20. {% form_theme form_switch_merchant '@LcSov/adminlte/crud/form_theme.html.twig' %}
  21. {{ form_start(form_switch_merchant) }}
  22. {{ form(form_switch_merchant) }}
  23. {{ form_end(form_switch_merchant) }}
  24. </li>
  25. </ul>
  26. </nav>
  27. {% endblock %}