{% extends 'base.html' %}
{% load static %}

{% block title %}Restricted - Packs Site{% endblock %}

{% block content %}
<div class="gate-main">
    <div class="gate-card">
        <img src="{% static 'stop-it.gif' %}" alt="Stop" height="256">
        <h1>Restricted Access</h1>
        <p>This site is private. Enter the master password to continue.</p>

        {% if error %}
            <p class="gate-error">{{ error }}</p>
        {% endif %}

        <form method="post" action="{% url 'landing:gate' %}">
            {% csrf_token %}
            <input type="password" name="password" placeholder="Master password" autofocus required>
            <button type="submit">Enter</button>
        </form>
    </div>
    <p class="gate-disclaimer">
        <i class="fas fa-exclamation-triangle"></i>
        This page contains +18 content. By entering the master password you acknowledge that you are an adult.
    </p>
</div>
{% endblock %}
