{% extends "base.html" %} {% block title %}Add Travel Record - Travel Records{% endblock %} {% block content %}

Add New Travel Record

Document your next adventure

{{ form.hidden_tag() }}
{{ form.country.label(class="form-label") }} {{ form.country(class="form-control" + (" is-invalid" if form.country.errors else ""), id="country-select") }} {% if form.country.errors %}
{% for error in form.country.errors %} {{ error }} {% endfor %}
{% endif %}
{{ form.city.label(class="form-label") }} {{ form.city(class="form-control" + (" is-invalid" if form.city.errors else ""), id="city-select") }} {% if form.city.errors %}
{% for error in form.city.errors %} {{ error }} {% endfor %}
{% endif %}
{{ form.departure_date.label(class="form-label") }} {{ form.departure_date(class="form-control" + (" is-invalid" if form.departure_date.errors else "")) }} {% if form.departure_date.errors %}
{% for error in form.departure_date.errors %} {{ error }} {% endfor %}
{% endif %}
{{ form.return_date.label(class="form-label") }} (Optional) {{ form.return_date(class="form-control" + (" is-invalid" if form.return_date.errors else "")) }} {% if form.return_date.errors %}
{% for error in form.return_date.errors %} {{ error }} {% endfor %}
{% endif %}
{{ form.purpose.label(class="form-label") }} {{ form.purpose(class="form-select" + (" is-invalid" if form.purpose.errors else "")) }} {% if form.purpose.errors %}
{% for error in form.purpose.errors %} {{ error }} {% endfor %}
{% endif %}
{{ form.flight_notes.label(class="form-label") }} (Optional) {{ form.flight_notes(class="form-control" + (" is-invalid" if form.flight_notes.errors else "")) }} {% if form.flight_notes.errors %}
{% for error in form.flight_notes.errors %} {{ error }} {% endfor %}
{% endif %}
Include flight numbers, airlines, seat preferences, or any special requirements.
{{ form.photos.label(class="form-label") }} (Optional)
Drag & Drop Photos Here

or click to browse your files

{{ form.photos(class="d-none", id="photo-upload") }}
Drop photos to upload
Selected Photos (0)
Tips: Use checkboxes to select multiple photos for batch operations. Drag photos to reorder them, or use the up/down arrows. Photos will appear in the gallery in the order shown here.
Supported: JPG, JPEG, PNG, GIF
Max size: 5MB per photo | Max photos: 20
{% if form.photos.errors %}
{% for error in form.photos.errors %} {{ error }} {% endfor %}
{% endif %}
{{ form.submit(class="btn btn-success") }} Back to Records
Travel Record Tips
  • Include specific city names for better record keeping
  • Add flight numbers and airlines in the notes section
  • Record seat preferences for future reference
  • Note any special accommodations or requirements
  • Keep track of visa requirements or travel documents used
{% endblock %}