<main class="col-md-9 ms-sm-auto col-lg-10 px-md-4">
    <div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2">
        <h3 class="h3">{{ trans .lang "admin_tag_delete_title" }}</h3>
    </div>
    <div class="mb-3 border-bottom border-top pb-3 pt-3">
        {{ if .used }}
            {{ trans .lang "admin_tag_is_used" }}
        {{ else }}
            {{ trans .lang "admin_confirm_tag_delete" }} <b>{{ .tag }}</b>
        {{ end }}
    </div>
    <form method="post">
        <a href="/admin/tag" class="btn btn-sm btn-secondary">{{ trans .lang "admin_back" }}</a>
        {{ if not .used }}
            <button type="submit" class="btn btn-sm btn-danger">{{ trans .lang "admin_delete_btn" }}</button>
        {{ end }}
    </form>
</main>