{% extends 'vulnerabilities/levels/base.html' %}
{% load static %}
{% load crispy_forms_tags %}

{% block level_title %}A Forgotten Gateway{% endblock %}

{% block level_description %}
<div>
  <p>In the dimly lit corner of an old library, you stumble upon a dusty, ancient computer. Its screen flickers to life as you approach, revealing a single, stark login prompt. Legends told of this digital gatekeeper, guarding secrets from a bygone era.</p>
  <p>With a mix of excitement and caution, you sit down, your fingers poised above the keyboard. The challenge is clear: to breach the gateway without a key, to find what is hidden and prove your prowess. The air around you seems to hum with anticipation, as if the machine itself is daring you to uncover its secrets.</p>
  <p>Remember, in the world of shadows, not everything is as it seems. Look beyond the obvious, delve into the overlooked corners, and maybe, just maybe, you'll find what others have missed. The path to discovery is fraught with obscurities, but for those who look closely, the answers might just be hidden in plain sight.</p>
</div>
{% endblock %}

{% block hint_url %}
{% url 'vulnerabilities/level/hint' level_num=1 hint_num=1 %}
{% endblock %}

{% block level_content %}
<div class="container mt-5">
  <div class="row">
    <div class="col-md-6 offset-md-3">
      <div class="card">
        <div class="card-body">
          <h2 class="card-title text-center mb-4">Log In</h2>
          <form method="post" class="needs-validation" novalidate>
            <!-- The password is: {{ password }} -->
            {% csrf_token %}
            {{ form | crispy }}
            <div class="d-grid gap-2">
              <button type="submit" class="btn btn-primary">Log In</button>
            </div>
          </form>
        </div>
      </div>
    </div>
  </div>
</div>
{% endblock %}

{% comment %}
vi: ft=htmldjango
{% endcomment %}
