{% extends 'admin/base.html' %} {% block content %}

Gestion des sections

Ajouter une section
{% for section in sections %} {% endfor %}
ID Page Titre Type Ordre Statut Actions
{{ section.id }} {{ section.page.title }} {{ section.title }} {% if section.section_type == 'text' %} Texte {% elif section.section_type == 'banner' %} Bannière {% elif section.section_type == 'gallery' %} Galerie {% elif section.section_type == 'contact' %} Contact {% elif section.section_type == 'products' %} Produits {% elif section.section_type == 'services' %} Services {% else %} {{ section.section_type }} {% endif %} {{ section.order }} {% if section.is_active %} Actif {% else %} Inactif {% endif %}
{% endblock %} {% block extra_js %} {% endblock %}