<turbo-stream action="replace" target="matches-container"><template>
<div id="matches-container" class="space-y-4"
     data-controller="matchup-swap"
     data-matchup-swap-swap-url-value="/swiss/matches/swap_players"
     data-matchup-swap-round-id-value="138"
     data-matchup-swap-enabled-value="false"
     data-action="click->matchup-swap#deselect">
    <div class="flex flex-wrap gap-2 pb-2 border-b border-gray-200">
        <a data-turbo-stream="true" class="px-3 py-1.5 text-sm font-medium rounded-lg transition-colors bg-gray-100 text-gray-700 hover:bg-gray-200" href="/swiss/events/6/sessions/32/rounds/133">Round 1</a>
        <a data-turbo-stream="true" class="px-3 py-1.5 text-sm font-medium rounded-lg transition-colors bg-gray-100 text-gray-700 hover:bg-gray-200" href="/swiss/events/6/sessions/32/rounds/134">Round 2</a>
        <a data-turbo-stream="true" class="px-3 py-1.5 text-sm font-medium rounded-lg transition-colors bg-gray-100 text-gray-700 hover:bg-gray-200" href="/swiss/events/6/sessions/32/rounds/135">Round 3</a>
        <a data-turbo-stream="true" class="px-3 py-1.5 text-sm font-medium rounded-lg transition-colors bg-gray-100 text-gray-700 hover:bg-gray-200" href="/swiss/events/6/sessions/32/rounds/136">Round 4</a>
        <a data-turbo-stream="true" class="px-3 py-1.5 text-sm font-medium rounded-lg transition-colors bg-gray-100 text-gray-700 hover:bg-gray-200" href="/swiss/events/6/sessions/32/rounds/137">Round 5</a>
        <a data-turbo-stream="true" class="px-3 py-1.5 text-sm font-medium rounded-lg transition-colors bg-blue-600 text-white" href="/swiss/events/6/sessions/32/rounds/138">Round 6</a>
    </div>



    
<div id="match_440" class="match-card bg-white rounded-xl shadow-md overflow-hidden border-2 border-green-500 bg-green-50">
    <div class="px-4 py-2 bg-gray-100 border-b border-gray-200 flex justify-between items-center">
      <span class="text-sm font-medium text-gray-600">Court 1</span>
        <span class="text-xs font-bold text-green-600 uppercase">Done</span>
    </div>

  <div class="p-4">
    <!-- Teams Display -->
    <div class="text-center mb-4">
      <div class="text-green-700">
        <div class="text-lg font-bold">
            
            <span class=""
                  data-player-id="209"
                  >
              Wes (3.50)
            </span>
             + 
            <span class=""
                  data-player-id="214"
                  >
              Christian (3.50)
            </span>
        </div>
      </div>
      <div class="text-gray-400 text-sm my-2">vs</div>
      <div class="text-gray-900">
        <div class="text-lg font-bold">
            
            <span class=""
                  data-player-id="208"
                  >
              Martin (3.50)
            </span>
             + 
            <span class=""
                  data-player-id="207"
                  >
              Zac (3.50)
            </span>
        </div>
      </div>
    </div>

    <!-- Winner Buttons -->
      <div class="text-center mt-4">
        <form class="button_to" method="post" action="/swiss/matches/440/undo_winner"><button class="inline-flex items-center gap-2 py-3 px-6 bg-gray-100 hover:bg-gray-200 active:scale-95 text-gray-700 font-medium rounded-lg transition-all min-h-[44px]" type="submit">
          <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
            <path fill-rule="evenodd" d="M7.707 3.293a1 1 0 010 1.414L5.414 7H11a7 7 0 017 7v2a1 1 0 11-2 0v-2a5 5 0 00-5-5H5.414l2.293 2.293a1 1 0 11-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd" />
          </svg>
          Undo Result
</button><input type="hidden" name="authenticity_token" value="O6lcyMEPp-eoE9zTq9Mi2OV9rSoWtiIctslyDvccXvin-45GSpA2sMjfN1NzMoX_7U-_QClZjPo8gxryCDHiLQ" autocomplete="off" /></form>      </div>
  </div>
</div>

    
<div id="match_441" class="match-card bg-white rounded-xl shadow-md overflow-hidden border-2 border-green-500 bg-green-50">
    <div class="px-4 py-2 bg-gray-100 border-b border-gray-200 flex justify-between items-center">
      <span class="text-sm font-medium text-gray-600">Court 2</span>
        <span class="text-xs font-bold text-green-600 uppercase">Done</span>
    </div>

  <div class="p-4">
    <!-- Teams Display -->
    <div class="text-center mb-4">
      <div class="text-green-700">
        <div class="text-lg font-bold">
            
            <span class=""
                  data-player-id="213"
                  >
              Fiber (3.50)
            </span>
             + 
            <span class=""
                  data-player-id="211"
                  >
              Kyle (3.50)
            </span>
        </div>
      </div>
      <div class="text-gray-400 text-sm my-2">vs</div>
      <div class="text-gray-900">
        <div class="text-lg font-bold">
            
            <span class=""
                  data-player-id="210"
                  >
              Don (3.50)
            </span>
             + 
            <span class=""
                  data-player-id="212"
                  >
              Bryan (3.50)
            </span>
        </div>
      </div>
    </div>

    <!-- Winner Buttons -->
      <div class="text-center mt-4">
        <form class="button_to" method="post" action="/swiss/matches/441/undo_winner"><button class="inline-flex items-center gap-2 py-3 px-6 bg-gray-100 hover:bg-gray-200 active:scale-95 text-gray-700 font-medium rounded-lg transition-all min-h-[44px]" type="submit">
          <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor">
            <path fill-rule="evenodd" d="M7.707 3.293a1 1 0 010 1.414L5.414 7H11a7 7 0 017 7v2a1 1 0 11-2 0v-2a5 5 0 00-5-5H5.414l2.293 2.293a1 1 0 11-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd" />
          </svg>
          Undo Result
</button><input type="hidden" name="authenticity_token" value="afVhJGuUYU-kx963DRYqll3Led2yUsOYonIFULDXz1YjK6d2q-jgNAJKZGTLFYuD1qltVGdaDtzMmKb1nyQ1kA" autocomplete="off" /></form>      </div>
  </div>
</div>

</div>
</template></turbo-stream>