{% extends "django_cfran/base.html" %} {% load static cfran_tags %} {% block extra_css %} {% endblock extra_css %} {% block content %}
{% cfran_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 %} {% cfran_accordion title="Données d’exemple" content=sample_data_code %} {% endwith %} {% endwith %} {# djlint:on #}

Résultat

{% if tag_name == "accordion" %} {% cfran_accordion sample_data_item %} {% elif tag_name == "accordion_group" %} {% cfran_accordion_group sample_data_item %} {% elif tag_name == "alert" %} {% cfran_alert sample_data_item %} {% elif tag_name == "badge" %} {% cfran_badge sample_data_item %} {% elif tag_name == "badge_group" %} {% cfran_badge_group sample_data_item %} {% elif tag_name == "button" %} {% cfran_button sample_data_item %} {% elif tag_name == "button_group" %} {% cfran_button_group sample_data_item %} {% elif tag_name == "callout" %} {% cfran_callout sample_data_item %} {% elif tag_name == "card" %} {% if not "horizontal" in sample_data_item.extra_classes %}
{% cfran_card sample_data_item %}
{% else %}
{% cfran_card sample_data_item %}
{% endif %} {% elif tag_name == "consent" %}

Voir en bas de votre écran.

{% cfran_consent sample_data_item %} {% elif tag_name == "content" %} {% cfran_content sample_data_item %} {% elif tag_name == "django_messages" %} {% cfran_django_messages sample_data_item %} {% elif tag_name == "france_connect" %} {% cfran_france_connect sample_data_item %} {% elif tag_name == "highlight" %} {% cfran_highlight sample_data_item %} {% elif tag_name == "input" %} {% cfran_input sample_data_item %} {% elif tag_name == "link" %} {% cfran_link sample_data_item %} {% elif tag_name == "notice" %} {% cfran_notice sample_data_item %} {% elif tag_name == "quote" %} {% cfran_quote sample_data_item %} {% elif tag_name == "select" %} {% cfran_select sample_data_item %} {% elif tag_name == "sidemenu" %} {% cfran_sidemenu sample_data_item %} {% elif tag_name == "skiplinks" %} {% cfran_skiplinks sample_data_item %} {% elif tag_name == "stepper" %} {% cfran_stepper sample_data_item %} {% elif tag_name == "summary" %} {% cfran_summary sample_data_item %} {% elif tag_name == "table" %} {% cfran_table sample_data_item %} {% elif tag_name == "tag" %} {% cfran_tag sample_data_item %} {% elif tag_name == "tile" %}
{% cfran_tile sample_data_item %}
{% elif tag_name == "toggle" %} {% cfran_toggle sample_data_item %} {% elif tag_name == "tooltip" %} {% cfran_tooltip sample_data_item %} {% elif tag_name == "transcription" %} {% cfran_transcription sample_data_item %} {% endif %} {% endfor %} {% else %}

Résultat

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

{% endblock content %}