<turbo-stream action="update" target="modal-root"><template>
  
<div data-controller="dialog">
  <dialog class="dialog dialog-size-lg" data-dialog-target="dialog">
    <div class="dialog-header">
      <h2 class="dialog-title">Best results in competition</h2>
      <button class="dialog-close" aria-label="Close" data-action="dialog#close">
        <span class="icon icon--xmark" aria-hidden="true"></span>
      </button>
    </div>

    <div class="dialog-body">
      
  <div data-controller="person-details-chart">
    <div data-person-details-chart-target="chart" style="height: 200px;"></div>
    <script type="application/json" data-person-details-chart-target="data">
      [["2020-03-13T02:25:06.200Z",14.961999999999989],["2020-09-25T00:50:39.600Z",7.432000000000016]]
    </script>
  </div>

  <table class="table">
    <thead>
      <tr>
        <th>Suit</th>
          <th>Place</th>
        <th class="text-right">Result</th>
        <th class="text-right">Recorded at</th>
      </tr>
    </thead>
    <tbody>
        <tr>
          <td><span><span class="text-warning" data-controller="tooltip">SQ<span class="for-screen-reader">Squirrel Suits</span></span>&nbsp;Freak 3</span></td>
            <td><span>DZ Skydive Nagambie</span> (<span class="text-warning" data-controller="tooltip">AUS<span class="for-screen-reader">Australia</span></span>)</td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/43889">15.0</a>
          </td>
          <td class="text-right">13.03.2020</td>
        </tr>
        <tr>
          <td><span><span class="text-warning" data-controller="tooltip">SQ<span class="for-screen-reader">Squirrel Suits</span></span>&nbsp;Freak 3</span></td>
            <td><span>DZ Jurien Bay</span> (<span class="text-warning" data-controller="tooltip">AUS<span class="for-screen-reader">Australia</span></span>)</td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/53272">7.4</a>
          </td>
          <td class="text-right">25.09.2020</td>
        </tr>
    </tbody>
  </table>

    </div>
  </dialog>
</div>

</template></turbo-stream>