<!-- tags.html -->

{% extends "base.html" %}

{% block title %} Tags {% endblock %}

{% load custom_filters %}

{% load static %}

{% block content %}

<div class="row">
    <div class="col">
        <strong>Furaffinity's Tag list:</strong>
        <div class="m-2 overflow-hidden">
            {% if list_tags %}
                {% for tag in list_tags %}
                    <span class="">
                        <a class="badge bg-primary tag" href="{% url 'fa:tag_details' tag.tag_slug %}">{{ tag.tag|capfirst }}</a>
                    </span>
                {% endfor %}
            {% else %}
                <span class="badge bg-secondary">This submission has no tags</span>
            {% endif %}
        </div>
            {% comment %} <ul>
            {% for tag in list_tags %}
                <li><a href="{% url 'fa:tag_details' tag.tag_slug %}">{{ tag.tag }}</a></li>
            {% endfor %}
            </ul>
            <div>
                <strong>Tags:</strong>
                {% for tag in list_tags %}
                <span class="badge bg-primary">{{ tag.name }}</span>
                {% endfor %}
            </div>
        {% else %}
            <p>No tags available.</p> {% endcomment %}
        <div>
            <p>Links:</p>
            <ul>
                <li><a href="users">Users</a></li>
                <li><a href="config">Config</a></li>
            </ul>
        </div>
    </div>
</div>

{% endblock %}
