<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">
      [["2015-03-21T10:13:57.000Z",112.61159565070116],["2016-09-18T10:43:43.400Z",131.10484821493358]]
    </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">PF<span class="for-screen-reader">Phoenix Fly</span></span>&nbsp;Power tracking suit</span></td>
            <td><span>Skydive Finland / Utti</span> (<span class="text-warning" data-controller="tooltip">FIN<span class="for-screen-reader">Finland</span></span>)</td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/7442">131.1</a>
          </td>
          <td class="text-right">18.09.2016</td>
        </tr>
        <tr>
          <td><span><span class="text-warning" data-controller="tooltip">RN<span class="for-screen-reader">Raven</span></span>&nbsp;Raven One</span></td>
            <td>Utti Finland</td>
          <td class="text-right">
            <a class="dotted-underline" href="/tracks/525">112.6</a>
          </td>
          <td class="text-right">21.03.2015</td>
        </tr>
    </tbody>
  </table>

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

</template></turbo-stream>