<commit_before><div class="row">
  <h2 class="text-center">Suggest Themes for the <a href="<?=$routes->generate('jam_page', array('id' => $id))?>"><?=$jam['title']?></a></h2>
  <?php require TEMPLATEROOT.'countdown.php'; ?>
  <hr />
</div>

<div class="row">
  <div class="col-md-6 col-md-offset-3">
    <?php

    $addjs = false;

    if ($jam['status'] != JamStatus::ReceivingSuggestions)
    {
      echo '<h4 class="text-center">Suggestions are currently closed</h4>';
    }
    else if (!$session->IsLoggedIn())
    {
      echo '<h4 class="text-center">You must be <a href="'.$routes->generate('login').'">logged in</a> to suggest themes</h4>';
    }
    else
    {
      $addjs = true;
      echo '<form role="form" id="suggestionsform">';
      require TEMPLATEROOT.'formfeedback.php';

      for ($i = 0; $i < $jam['themesperuser']; $i++)
      {
        echo '<div class="form-group">
                <label for="theme'.$i.'">Theme '.($i + 1).'</label>
                <input type="text" class="form-control themesuggestion" value="'.($i < count($themes) ? $themes[$i]['name'] : '').'" currentid="'.($i < count($themes) ? $themes[$i]['id'] : '-1').'" />
              </div>';
      }

      echo '<button type="submit" class="btn btn-success pull-right disabled" id="suggestionssubmit">Save</button><span><small>No offensive language is permitted</small></span></form>';
    }

    ?>
  </div>
</div>

<script>
JamID = <?=$id?>;
ThemeCount = <?=$jam['themesperuser']?>;<commit_msg>Removed unused code<commit_after><div class="row">
  <h2 class="text-center">Suggest Themes for the <a href="<?=$routes->generate('jam_page', array('id' => $id))?>"><?=$jam['title']?></a></h2>
  <?php require TEMPLATEROOT.'countdown.php'; ?>
  <hr />
</div>

<div class="row">
  <div class="col-md-6 col-md-offset-3">
    <?php

    if ($jam['status'] != JamStatus::ReceivingSuggestions)
    {
      echo '<h4 class="text-center">Suggestions are currently closed</h4>';
    }
    else if (!$session->IsLoggedIn())
    {
      echo '<h4 class="text-center">You must be <a href="'.$routes->generate('login').'">logged in</a> to suggest themes</h4>';
    }
    else
    {
      echo '<form role="form" id="suggestionsform">';
      require TEMPLATEROOT.'formfeedback.php';

      for ($i = 0; $i < $jam['themesperuser']; $i++)
      {
        echo '<div class="form-group">
                <label for="theme'.$i.'">Theme '.($i + 1).'</label>
                <input type="text" class="form-control themesuggestion" value="'.($i < count($themes) ? $themes[$i]['name'] : '').'" currentid="'.($i < count($themes) ? $themes[$i]['id'] : '-1').'" />
              </div>';
      }

      echo '<button type="submit" class="btn btn-success pull-right disabled" id="suggestionssubmit">Save</button><span><small>No offensive language is permitted</small></span></form>';
    }

    ?>
  </div>
</div>

<script>
JamID = <?=$id?>;
ThemeCount = <?=$jam['themesperuser']?>;
{'fraction_non_alphanumeric': 0.23744911804613297, 'fraction_numerical': 0.007462686567164179, 'mean_word_length': 3.349557522123894, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 85, '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': '911188', 'n_tokens_mistral': 1035, 'n_tokens_neox': 987, 'n_words': 197}