{% extends "@AutoAdminAdmin/base_layout.html.twig" %}



{% block navbar_top_right %}
  <div class="topbar-actions-section">
    {% include '@AutoAdminAdmin/entity/_partials/see_content.html.twig' %}
    {% include '@AutoAdminAdmin/entity/_partials/topbar_actions.html.twig' %}

    {% set action = app.request.attributes.get('action')|default() %}
    {% if action == 'update' %}
      <div class="d-inline-flex heading-actions">
        <a class="btn btn-success" id="submit_fake">
          <span class="icon mr-2"><i class="fas fa-floppy-disk"></i></span>
          <span class="text">Enregistrer</span>
        </a>
      </div>
    {% endif %}
  </div>
{% endblock %}

{% block page_content %}
  <div class="pre-content-wrap">
    {% block pre_content_wrap %}
    {% endblock %}
  </div>
  {{ parent() }}
{% endblock %}

{% block page_inner %}
  <div class="page-top-wrap">{% block inner_page_top %}{% endblock %}</div>

  <div class="page-content-wrap">{% block inner_page_content %}{% endblock %}</div>

  <div class="page-bottom-wrap">{% block inner_page_bottom %}{% endblock %}</div>
{% endblock %}
