"""
Tag system frontend views
"""
from fastapi import APIRouter, Request
from fastapi.responses import HTMLResponse
from fastapi.templating import Jinja2Templates

router = APIRouter()
templates = Jinja2Templates(directory="app")

@router.get("/tags", response_class=HTMLResponse)
async def tags_admin_page(request: Request):
    """Render tag administration page"""
    return templates.TemplateResponse("tags/frontend/tags_admin.html", {"request": request})
