<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="261"
     data-matchup-swap-enabled-value="true"
     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/5/sessions/52/rounds/256">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/5/sessions/52/rounds/257">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/5/sessions/52/rounds/258">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/5/sessions/52/rounds/259">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/5/sessions/52/rounds/260">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/5/sessions/52/rounds/261">Round 6</a>
    </div>

    <p class="text-sm text-gray-500 text-center">Tap two players' names to swap them</p>


    
<div id="match_903" class="match-card bg-white rounded-xl shadow-md overflow-hidden border-2 border-gray-200">
    <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>
    </div>

  <div class="p-4">
    <!-- Teams Display -->
    <div class="text-center mb-4">
      <div class="text-gray-900">
        <div class="text-lg font-bold">
            
            <span class="cursor-pointer inline-block px-1 py-0.5 transition-all underline decoration-dotted decoration-gray-400 underline-offset-2"
                  data-player-id="226"
                  data-action="click->matchup-swap#selectPlayer">
              Edher (4.00)
            </span>
             + 
            <span class="cursor-pointer inline-block px-1 py-0.5 transition-all underline decoration-dotted decoration-gray-400 underline-offset-2"
                  data-player-id="221"
                  data-action="click->matchup-swap#selectPlayer">
              Martin (4.00)
            </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="cursor-pointer inline-block px-1 py-0.5 transition-all underline decoration-dotted decoration-gray-400 underline-offset-2"
                  data-player-id="220"
                  data-action="click->matchup-swap#selectPlayer">
              Zac (4.00)
            </span>
             + 
            <span class="cursor-pointer inline-block px-1 py-0.5 transition-all underline decoration-dotted decoration-gray-400 underline-offset-2"
                  data-player-id="219"
                  data-action="click->matchup-swap#selectPlayer">
              Don (4.00)
            </span>
        </div>
      </div>
    </div>

    <!-- Winner Buttons -->
      <div class="flex gap-4 mt-6">
        <form class="button_to" method="post" action="/swiss/matches/903/record_winner?team=team1"><button class="winner-button flex-1 py-5 px-4 bg-blue-600 hover:bg-blue-700 active:scale-95 text-white font-bold rounded-xl transition-all text-lg shadow-md" type="submit">
          Edher + Martin Won
</button><input type="hidden" name="authenticity_token" value="Sgx7bBhcLuDp0hUW4RYwwnfo9kp2cKw5Q3DWn1HAASe8UTrz6TuWeMYHhx-ZnSBCmVSpkUEV1mA4xqaWS1TzQg" autocomplete="off" /></form>
        <form class="button_to" method="post" action="/swiss/matches/903/record_winner?team=team2"><button class="winner-button flex-1 py-5 px-4 bg-blue-600 hover:bg-blue-700 active:scale-95 text-white font-bold rounded-xl transition-all text-lg shadow-md" type="submit">
          Zac + Don Won
</button><input type="hidden" name="authenticity_token" value="fG5qRDME5JeA0lxJamMIALMc-u3_fDQuFEms6jNjMGyKMyvbwmNcD68HzkAS6BiAXaClNsgZTndv_9zjKffCCQ" autocomplete="off" /></form>      </div>
  </div>
</div>

    
<div id="match_904" class="match-card bg-white rounded-xl shadow-md overflow-hidden border-2 border-gray-200">
    <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>
    </div>

  <div class="p-4">
    <!-- Teams Display -->
    <div class="text-center mb-4">
      <div class="text-gray-900">
        <div class="text-lg font-bold">
            
            <span class="cursor-pointer inline-block px-1 py-0.5 transition-all underline decoration-dotted decoration-gray-400 underline-offset-2"
                  data-player-id="229"
                  data-action="click->matchup-swap#selectPlayer">
              Nestor (3.25)
            </span>
             + 
            <span class="cursor-pointer inline-block px-1 py-0.5 transition-all underline decoration-dotted decoration-gray-400 underline-offset-2"
                  data-player-id="289"
                  data-action="click->matchup-swap#selectPlayer">
              John (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="cursor-pointer inline-block px-1 py-0.5 transition-all underline decoration-dotted decoration-gray-400 underline-offset-2"
                  data-player-id="302"
                  data-action="click->matchup-swap#selectPlayer">
              Sunny (3.75)
            </span>
             + 
            <span class="cursor-pointer inline-block px-1 py-0.5 transition-all underline decoration-dotted decoration-gray-400 underline-offset-2"
                  data-player-id="227"
                  data-action="click->matchup-swap#selectPlayer">
              Cristian (3.75)
            </span>
        </div>
      </div>
    </div>

    <!-- Winner Buttons -->
      <div class="flex gap-4 mt-6">
        <form class="button_to" method="post" action="/swiss/matches/904/record_winner?team=team1"><button class="winner-button flex-1 py-5 px-4 bg-blue-600 hover:bg-blue-700 active:scale-95 text-white font-bold rounded-xl transition-all text-lg shadow-md" type="submit">
          Nestor + John Won
</button><input type="hidden" name="authenticity_token" value="EjQn9q6dvhmI4_vVSIKv0jVe_FxQE7uX5ZiwBNxpJSSKww4Rn0vnb_TbH_a1A814dv7J0ULkuvHrXryJ9wkiQA" autocomplete="off" /></form>
        <form class="button_to" method="post" action="/swiss/matches/904/record_winner?team=team2"><button class="winner-button flex-1 py-5 px-4 bg-blue-600 hover:bg-blue-700 active:scale-95 text-white font-bold rounded-xl transition-all text-lg shadow-md" type="submit">
          Sunny + Cristian Won
</button><input type="hidden" name="authenticity_token" value="VWZraWggoaHgTgVDQ-slv7p3WiZNeDvOxPITua4l1XjNkUKOWfb415x24WC-akcV-ddvq1-POqjKNB80hUXSHA" autocomplete="off" /></form>      </div>
  </div>
</div>

    
<div id="match_905" class="match-card bg-white rounded-xl shadow-md overflow-hidden border-2 border-gray-200">
    <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 3</span>
    </div>

  <div class="p-4">
    <!-- Teams Display -->
    <div class="text-center mb-4">
      <div class="text-gray-900">
        <div class="text-lg font-bold">
            
            <span class="cursor-pointer inline-block px-1 py-0.5 transition-all underline decoration-dotted decoration-gray-400 underline-offset-2"
                  data-player-id="318"
                  data-action="click->matchup-swap#selectPlayer">
              Pat (3.25)
            </span>
             + 
            <span class="cursor-pointer inline-block px-1 py-0.5 transition-all underline decoration-dotted decoration-gray-400 underline-offset-2"
                  data-player-id="319"
                  data-action="click->matchup-swap#selectPlayer">
              Brian Winnen (3.00)
            </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="cursor-pointer inline-block px-1 py-0.5 transition-all underline decoration-dotted decoration-gray-400 underline-offset-2"
                  data-player-id="313"
                  data-action="click->matchup-swap#selectPlayer">
              Diegi (3.25)
            </span>
             + 
            <span class="cursor-pointer inline-block px-1 py-0.5 transition-all underline decoration-dotted decoration-gray-400 underline-offset-2"
                  data-player-id="317"
                  data-action="click->matchup-swap#selectPlayer">
              Brandon (3.00)
            </span>
        </div>
      </div>
    </div>

    <!-- Winner Buttons -->
      <div class="flex gap-4 mt-6">
        <form class="button_to" method="post" action="/swiss/matches/905/record_winner?team=team1"><button class="winner-button flex-1 py-5 px-4 bg-blue-600 hover:bg-blue-700 active:scale-95 text-white font-bold rounded-xl transition-all text-lg shadow-md" type="submit">
          Pat + Brian Winnen Won
</button><input type="hidden" name="authenticity_token" value="k6MhE7V6vpGowjsEJ9y29OS-wo3PudH1qohHQQd8BhmK4RrulVQCqytxALn5h1vvl9D531sMNnwf1uaP-p2o_Q" autocomplete="off" /></form>
        <form class="button_to" method="post" action="/swiss/matches/905/record_winner?team=team2"><button class="winner-button flex-1 py-5 px-4 bg-blue-600 hover:bg-blue-700 active:scale-95 text-white font-bold rounded-xl transition-all text-lg shadow-md" type="submit">
          Diegi + Brandon Won
</button><input type="hidden" name="authenticity_token" value="r2sq8OQv0AgUAzco5eOGR5W3pszrDaXn3E5f3bfhq_y2KRENxAFsMpewDJU7uGtc5tmdnn-4Qm5pEP4TSgAFGA" autocomplete="off" /></form>      </div>
  </div>
</div>

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