      {% if submission.error_count.is_some() %}
        <div class="mt-2 text-sm text-gray-600">
          Found {{ submission.error_count.unwrap() }} error(s)
        </div>
      {% endif %}
    </div>
  {% else %}
    <div class="mb-6 p-4 bg-gray-100 rounded-md text-center">
      <p>Your submission is being processed. Check back later for feedback.</p>
      <div class="mt-4">
        <div class="animate-pulse flex space-x-4">
          <div class="flex-1 space-y-4 py-1">
            <div class="h-4 bg-