{% extends "django_cefran/base.html" %} {% load static cefran_tags %} {% block extra_css %} {% endblock extra_css %} {% block content %}
{% cefran_sidemenu side_menu extra_classes="" %}

{{ title }}

Documentation du tag

{{ tag_comment|safe }} {% if sample_data %}

Exemples

{% for sample_data_item in sample_data %}

Données

{# djlint:off #} {% with sample_data_item|pprint as raw_sample_code %} {# djlint:off #} {% with '
'|concatenate:raw_sample_code|concatenate:"
" as sample_data_code %} {% cefran_accordion title="Données d’exemple" content=sample_data_code %} {% endwith %} {% endwith %} {# djlint:on #}

Résultat

{% if tag_name == "accordion" %} {% cefran_accordion sample_data_item %} {% elif tag_name == "accordion_group" %} {% cefran_accordion_group sample_data_item %} {% elif tag_name == "alert" %} {% cefran_alert sample_data_item %} {% elif tag_name == "badge" %} {% cefran_badge sample_data_item %} {% elif tag_name == "badge_group" %} {% cefran_badge_group sample_data_item %} {% elif tag_name == "button" %} {% cefran_button sample_data_item %} {% elif tag_name == "button_group" %} {% cefran_button_group sample_data_item %} {% elif tag_name == "callout" %} {% cefran_callout sample_data_item %} {% elif tag_name == "card" %} {% if not "horizontal" in sample_data_item.extra_classes %}
{% cefran_card sample_data_item %}
{% else %}
{% cefran_card sample_data_item %}
{% endif %} {% elif tag_name == "consent" %}

Voir en bas de votre écran.

{% cefran_consent sample_data_item %} {% elif tag_name == "content" %} {% cefran_content sample_data_item %} {% elif tag_name == "django_messages" %} {% cefran_django_messages sample_data_item %} {% elif tag_name == "france_connect" %} {% cefran_france_connect sample_data_item %} {% elif tag_name == "highlight" %} {% cefran_highlight sample_data_item %} {% elif tag_name == "input" %} {% cefran_input sample_data_item %} {% elif tag_name == "link" %} {% cefran_link sample_data_item %} {% elif tag_name == "notice" %} {% cefran_notice sample_data_item %} {% elif tag_name == "quote" %} {% cefran_quote sample_data_item %} {% elif tag_name == "select" %} {% cefran_select sample_data_item %} {% elif tag_name == "sidemenu" %} {% cefran_sidemenu sample_data_item %} {% elif tag_name == "skiplinks" %} {% cefran_skiplinks sample_data_item %} {% elif tag_name == "stepper" %} {% cefran_stepper sample_data_item %} {% elif tag_name == "summary" %} {% cefran_summary sample_data_item %} {% elif tag_name == "table" %} {% cefran_table sample_data_item %} {% elif tag_name == "tag" %} {% cefran_tag sample_data_item %} {% elif tag_name == "tile" %}
{% cefran_tile sample_data_item %}
{% elif tag_name == "toggle" %} {% cefran_toggle sample_data_item %} {% elif tag_name == "tooltip" %} {% cefran_tooltip sample_data_item %} {% elif tag_name == "transcription" %} {% cefran_transcription sample_data_item %} {% endif %} {% endfor %} {% else %}

Résultat

{% if tag_name == "breadcrumb" %} {% cefran_breadcrumb %} {% elif tag_name == "css" %}
{% elif tag_name == "favicon" %}
{% elif tag_name == "js" %}
{% elif tag_name == "pagination" %} {% cefran_pagination page_obj %} {% elif tag_name == "theme_modale" %}
{% endif %} {% endif %}

{% endblock content %}