{{ description }}
{% endif %} {% if snake_case_mismatch %} {% comment %} Friendly explanation when the preview will fail because the filename has hyphens but Cotton is in snake_case mode. Pre-empts the cryptic "TemplateDoesNotExist" / "cannot unpack NoneType" errors and points the user at the Insights page where the full diagnosis lives. {% endcomment %} {% trans "Naming mismatch — this preview will fail." %} {% blocktranslate %}This component's filename has a hyphen, butCOTTON_SNAKE_CASED_NAMES = True in your settings — Cotton looks for the underscored version and can't find it.{% endblocktranslate %}
{% trans "See full report" %}
{% endif %}
<c-{{ tag_path }} />
{% trans "Raw" %}
{% trans "Compare" %}
{% comment %}
Share — copies the live URL (preview.js keeps it in sync with the
form via history.replaceState) so a teammate can jump straight into
the same playground state. The cotton tag itself is already
copyable via the button on the preview's code panel below.
{% endcomment %}
{% comment %}
Lint badge — clickable summary of @prop / {% url 'django_cotton_gallery:lint' as lint_url %} {% blocktranslate %}Open the full Lint report to see issues across the whole catalog.{% endblocktranslate %}