{% extends 'admin/layouts/base.html.twig' %}

{% block title %} Admin - {{ app.user ? app.user.username : company_name }} - {{ title }} {% endblock %}
{% block pageheader %}
    <div class="page-header page-header-light">
        <div class="page-header-content header-elements-md-inline">
            <div class="page-title d-flex">
                <h4><i class="icon-arrow-left52 mr-2"></i>
                    <span class="font-weight-semibold">Gestion modes de paiements</span>
                </h4>
                <a href="javascript:" class="header-elements-toggle text-default d-md-none">
                    <i class="icon-more"></i>
                </a>
            </div>
            <div class="header-elements d-none">
                <div class="d-flex justify-content-center">
                    <a data-toggle="tooltip" title="{{ libelle_liste }}"
                       href="{{ path('admin.modepaiements.index') }}" class="btn btn-primary btn-sm btn-icon">
                        <i class="icon-list"></i>
                    </a>
                </div>
            </div>
        </div>

        <div class="breadcrumb-line breadcrumb-line-light header-elements-md-inline">
            {{ fil_arial(title, 'Modes de paiements') }}
        </div>
    </div>
{% endblock %}
{% block body %}
    <div class="row">
        <div class="col-md-8 offset-2">
            <div class="card">
                <div class="card-header header-elements-inline">
                    <h6 class="card-title"><i class="icon-cogs"></i> {{ title }}</h6>
                </div>

                <div class="card-body">
                    {{ include('admin/configurations/modepaiements/_form.html.twig') }}
                </div>
            </div>
        </div>
    </div>
{% endblock %}