<commit_before><% provide(:title, "New Session") %>
<% content_for(:active, "session") %>
<div class="col-md-10 col-md-offset-1">
  <h1>Create a new session</h1>
  <p>Keys are good.</p>

  <div class="col-md-8 col-md-offset-2">
    <%= form_for @session do |f| %>
      <%= render 'error_messages' %>
      <div class="form-group">
        <%= f.label :key_id, "Key Name" %>
        <%= f.select :key_id, options_from_collection_for_select(@user.keys,
            'id', 'keyname', @session.key_id), {}, { :class => "form-control" }
        %>
      </div>
      <div class="form-group">
        <%= f.submit "Spawn Container", class: "btn btn-primary" %>
      </div>
    <% end %>
  </div><commit_msg>forgot new session page<commit_after><% provide(:title, "New Session") %>
<% content_for(:active, "session") %>
<div class="col-md-10 col-md-offset-1">
  <h1>Create a new session</h1>
  <hr>

  <div class="col-md-8 col-md-offset-2">
    <% if @keys.count > 0 %>
    <%= form_for @session do |f| %>
      <%= render 'error_messages' %>
      <div class="form-group">
        <%= f.label :key_id, "Key Name" %>
        <%= f.select :key_id, options_from_collection_for_select(@user.keys,
            'id', 'keyname', @session.key_id), {}, { :class => "form-control" }
        %>
      </div>
      <div class="form-group">
        <%= f.submit "Spawn Container", class: "btn btn-primary" %>
      </div>
    <% end %>
  <% else %>
      <h2 align="center"><strong>Nothing to see here...</strong></h2>
      <h3 align="center">Consider <%= link_to "adding an SSH key", new_key_path %>. 
  <% end %>
  </div>
{'fraction_non_alphanumeric': 0.21232876712328766, 'fraction_numerical': 0.0112079701120797, 'mean_word_length': 2.7811764705882354, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 52, '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': '4204212', 'n_tokens_mistral': 615, 'n_tokens_neox': 575, 'n_words': 120}