{% comment %}
Ride FSM History Partial Template

Displays FSM transition history for a specific ride.
Loaded via HTMX when the history section is expanded.

Required context:
  - ride: The Ride model instance
{% endcomment %}

<div class="mt-4">
    <div id="ride-history-container"
         hx-get="{% url 'moderation:moderation-reports-all-history' %}?model_type=ride&object_id={{ ride.id }}"
         hx-trigger="load"
         hx-swap="innerHTML"
         hx-indicator="#ride-history-loading">
        <!-- Loading State -->
        <div id="ride-history-loading" class="flex items-center justify-center py-8">
            <i class="mr-2 text-blue-500 fas fa-spinner fa-spin"></i>
            <span class="text-gray-600 dark:text-gray-400">Loading history...</span>
        </div>
    </div>
</div>
