{% extends "base.html.twig" %}
{% if menu_sel is not defined %}
{% set menu_sel = app.request.baseUrl ~ app.request.pathInfo %}
{% endif %}
{% block menu_sesion %}
{{ render(controller('App\\Controller\\MenuSubController::showMenuSubAction', {} )) }}
{% endblock menu_sesion %}
{% block menu %}
{{ render(controller('App\\Controller\\MenuController::showMenuAction',{ 'menu_sel': menu_sel, 'elem': 'menu' } )) }}
{% endblock %}
{% block breadcrumb %}
{{ render(controller('App\\Controller\\MenuController::showMenuAction',{ 'menu_sel': menu_sel, 'elem': 'breadcrumb' } )) }}
{% endblock %}
{% block notice %}
{% for notice_level in ['notice','success','danger','info', 'warning'] %}
{% set session_var = notice_level %}
{% for flashMessage in app.session.flashbag.get(session_var) %}
<div class="alert alert-{{session_var}}">
<button type="button" class="close" data-dismiss="alert">
<i class="fas fa-times"></i>
</button>
<strong>
<i class="fas fa-info-circle bigger-150"></i>
{{ flashMessage | trans([],'message') }}
</strong>
<br>
</div>
{% endfor %}
{% endfor %}
{% if errors_presup is defined and errors_presup|length>0 %}
{% for error in errors_presup %}
<div class="flash_error">
{{ error | trans() }}
</div>
{% endfor %}
{% endif %}
{% endblock %}