{% load i18n %}
{{ comp.label }} {% if comp.description %}

{{ comp.description }}

{% endif %} {% for prop in comp.props %} {% endfor %}
{{ prop.label }} {% if prop.type == "length" %} px {% elif prop.type == "choice" %} {% elif prop.type == "glyph" %} {% elif prop.type == "url" %} {% elif prop.type == "color" %} {% translate "light" %} {% include "grappelli_theme_editor/editor/color_input.html" with kind="comp" key=comp.key prop=prop.key mode="light" %} {% translate "dark" %} {% include "grappelli_theme_editor/editor/color_input.html" with kind="comp" key=comp.key prop=prop.key mode="dark" %} {% endif %}