{% extends "base.html" %} {% block title %}{% trans %}New Reservation{% endtrans %} - Edu-Space Admin{% endblock %} {% block content %}

{% trans %}New Reservation{% endtrans %}

{% trans %}Back to Reservations{% endtrans %}
{% trans %}Reservation Details{% endtrans %}
{{ form.hidden_tag() }}
{{ form.classroom_id.label(class="form-label") }} {{ form.classroom_id(class="form-select", id="classroom-select") }} {% if form.classroom_id.errors %}
{{ form.classroom_id.errors[0] }}
{% endif %} {% trans %}Select a classroom for your reservation{% endtrans %}
{{ form.commission_id.label(class="form-label") }} {{ form.commission_id(class="form-select", id="commission-select") }} {% if form.commission_id.errors %}
{{ form.commission_id.errors[0] }}
{% endif %} {% trans %}Select the subject/commission{% endtrans %}
{{ form.start_time.label(class="form-label") }} {{ form.start_time(class="form-control", id="start-time") }} {% if form.start_time.errors %}
{{ form.start_time.errors[0] }}
{% endif %} {% trans %}When will the class start?{% endtrans %}
{{ form.end_time.label(class="form-label") }} {{ form.end_time(class="form-control", id="end-time") }} {% if form.end_time.errors %}
{{ form.end_time.errors[0] }}
{% endif %} {% trans %}When will the class end?{% endtrans %}
{{ form.purpose.label(class="form-label") }} {{ form.purpose(class="form-control", placeholder=_("Regular class, exam, study session, etc.")) }} {% if form.purpose.errors %}
{{ form.purpose.errors[0] }}
{% endif %}
{{ form.expected_attendees.label(class="form-label") }} {{ form.expected_attendees(class="form-control", placeholder="30") }} {% if form.expected_attendees.errors %}
{{ form.expected_attendees.errors[0] }}
{% endif %} {% trans %}Number of expected attendees{% endtrans %}
{{ form.notes.label(class="form-label") }} {{ form.notes(class="form-control", rows="3", placeholder=_("Any additional notes or special requirements...")) }} {% if form.notes.errors %}
{{ form.notes.errors[0] }}
{% endif %}
{% trans %}Reservation Summary{% endtrans %}

{% trans %}Selected Classroom:{% endtrans %} {% trans %}Not selected{% endtrans %}

{% trans %}Duration:{% endtrans %} {% trans %}Not calculated{% endtrans %}

{% trans %}Commission:{% endtrans %} {% trans %}Not selected{% endtrans %}

{% trans %}Cancel{% endtrans %} {{ form.submit(class="btn btn-success") }}
{% trans %}Reservation Guidelines{% endtrans %}
📅 {% trans %}Booking Rules{% endtrans %}
  • {% trans %}Reservations can be made up to 3 months in advance{% endtrans %}
  • {% trans %}Cannot book in the past{% endtrans %}
  • {% trans %}Maximum duration: 8 hours per reservation{% endtrans %}
  • {% trans %}Cancellations must be 24 hours before start time{% endtrans %}
🚨 {% trans %}Important Notes{% endtrans %}
  • {% trans %}Check classroom capacity before booking{% endtrans %}
  • {% trans %}Pending reservations require approval{% endtrans %}
  • {% trans %}Time slots must not overlap{% endtrans %}
  • {% trans %}System automatically detects conflicts{% endtrans %}
{% endblock %} {% block extra_js %} {% endblock %}