Files
thrillwiki_django_no_react/backend/templates/parks/partials/saved_trips.html
pacnpal b9063ff4f8 feat: Add detailed park and ride pages with HTMX integration
- Implemented park detail page with dynamic content loading for rides and weather.
- Created park list page with filters and search functionality.
- Developed ride detail page showcasing ride stats, reviews, and similar rides.
- Added ride list page with filtering options and dynamic loading.
- Introduced search results page with tabs for parks, rides, and users.
- Added HTMX tests for global search functionality.
2025-12-19 19:53:20 -05:00

22 lines
722 B
HTML

<div class="saved-trips-list">
{% if trips %}
<ul class="space-y-2">
{% for trip in trips %}
<li class="p-2 bg-white rounded-md shadow-sm">
<div class="flex items-center justify-between">
<div>
<div class="font-medium">{{ trip.name }}</div>
<div class="text-xs text-gray-500">{{ trip.created_at }}</div>
</div>
<div>
<a href="{% url 'parks:roadtrip_detail' trip.id %}" class="text-blue-600">View</a>
</div>
</div>
</li>
{% endfor %}
</ul>
{% else %}
<div class="p-4 text-center text-gray-500">No saved trips yet.</div>
{% endif %}
</div>