<commit_before><%= turbo_stream_from "reservation_#{@logsecret}_log_lines" %>
<div class="row">
  <div class="col-md-12">
    <%= simple_form_for(@reservation, url: url_for(controller: "reservations", action: "rcon_command"), html: { class: "form-inline rcon-command"}, data: { controller: "reset_form", action: "turbo:submit-end->reset_form#reset"}) do |f| %>
      <%= f.input :rcon_command, label: false, class: "col-md-12 form-control required", autofocus: true %>
      <%= submit_tag "Send", name: "commit", class: "btn btn-primary" %>
    <% end %>
    <br />
    <pre id="<%= "reservation_#{@logsecret}_log_lines" %>">
<% @log_lines.each do |line| %><%= render "reservations/log_line", log_line: line %><% end %>
    </pre>
  </div>
</div><commit_msg>Only show the RCON button when the reservation is active<commit_after><%= turbo_stream_from "reservation_#{@logsecret}_log_lines" %>
<div class="row">
  <div class="col-md-12">
    <% if @reservation.now? %>
      <%= simple_form_for(@reservation, url: url_for(controller: "reservations", action: "rcon_command"), html: { class: "form-inline rcon-command"}, data: { controller: "reset_form", action: "turbo:submit-end->reset_form#reset"}) do |f| %>
        <%= f.input :rcon_command, label: false, class: "col-md-12 form-control required", autofocus: true %>
        <%= submit_tag "Send", name: "commit", class: "btn btn-primary" %>
      <% end %>
    <% end %>
    <br />
    <pre id="<%= "reservation_#{@logsecret}_log_lines" %>">
<% @log_lines.each do |line| %><%= render "reservations/log_line", log_line: line %><% end %>
    </pre>
  </div>
</div>
{'fraction_non_alphanumeric': 0.20508054522924413, 'fraction_numerical': 0.004956629491945477, 'mean_word_length': 4.646853146853147, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 39, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3206296', 'n_tokens_mistral': 607, 'n_tokens_neox': 565, 'n_words': 125}