{# State badge. Usage: {% include "_state_badge.html" with state="ACTIVE" %} #} {% load scoped_tags %} {% with color=state|state_color %} {{ state|enum_display }} {% endwith %}