{% extends "base.html" %}{% load static %}
{% block title %}权限受限-{% endblock %}
{% block body_left_center %}
<div class="container mt-5">
    <div class="alert alert-danger text-center ">
        <h4><i class="bi bi-lock-fill"></i> 权限受限</h4>
        <p>{{ message }}</p>
        {% if not user.is_authenticated %}
        <p class="mt-5"> 
            <a href="{% url 'users:login' %}?next={{ request.path }}" class="btn btn-primary">
            登录
            </a>
        </p> 
        {% endif %}
    </div>
</div>
{% endblock %}
