{% extends "resources/base.html" %} {% import "site_shell/_macros.html" as ui %} {% block title %}Tags - Pychestrate Resources{% endblock %} {% block content %} {% set typed = form_data or {} %} {% if can_manage %}

Create a tag

{{ ui.error_summary(errors, error_labels) }}
{{ ui.field_error(errors, "name") }}

Letters, digits, '_' and '-', starting with a letter or digit.

{{ ui.field_error(errors, "description") }}
{% endif %}
Clear
{% if can_manage %}{% endif %} {% for tag in tags %} {% if can_manage %} {% endif %} {% else %} {% if search %} {% else %} {{ ui.empty_state("No tags found", colspan=(4 if can_manage else 3)) }} {% endif %} {% endfor %}
Name Description CreatedActions
{{ tag.name }} {{ tag.description or '—' }} {{ tag.created_at | format_datetime('%Y-%m-%d %H:%M', '—') }}
Edit
No tags match "{{ search }}". Clear filter
{{ ui.pagination('resources.tag_list', page, total_pages, {'per_page': per_page, 'search': (search or none)}, total=total) }}

Tags are made here, or by typing a new one in a resource's Tags field. {% if can_manage %}Manage resources to tag or untag them.{% endif %}

{% endblock %}