<commit_before><section id="admin-correcting" class="container content-section" style="text-align:justify">
  <h2>Opravování</h2>
  <div class="panel panel-default">

    <div class="panel-heading">Zvolit omezení</div>
    <div class="panel-body">
      <div class="form-group">
        <div class="col-md-3">
          <label style="margin-left:20px">Vlna</label>
          {{#x-select value=wave class="form-control"}}
            {{#x-option value=""}}Vyber vlnu{{/x-option}}
            {{#each waves as |w|}}
              {{#x-option value=w.id}}{{w.caption}}{{/x-option}}
            {{/each}}
          {{/x-select}}
        </div>

        <div class="col-md-3">
          <label style="margin-left:20px">Vyber úlohu</label>
          <select {{action "task_select"}} class="form-control" id="task_sel">
            <option value="">Všechny úlohy</option>
            {{#each tasks as |t|}}
                <option value="{{t.id}}">
                  <span style="color:
                    {{if t.base "red"}}
                    {{if t.working "orange"}}
                    {{if t.corrected "blue"}}
                    {{if t.published "green"}}
                    ">
                    {{{t.title}}}</span> - {{t.author.full_name}} - 
                      {{if t.base "Neopraveno"}}
                      {{if t.working "Opravuje se"}}
                      {{if t.corrected "Opraveno, nepublikováno"}}
                      {{if t.published "Publikováno"}}
                </option>
            {{/each}}
          </select>
        </div>

        <div class="col-md-3">
          <label style="margin-left:20px">Stav</label>
          {{#x-select value=state class="form-control"}}
            {{#x-option value="all"}}Všechny{{/x-option}}
            {{#x-option value="notcorrected"}}Neopravené{{/x-option}}
            {{#x-option value="corrected"}}Opravené{{/x-option}}
          {{/x-select}}
        </div>

        <div class="col-md-3">
          <label style="margin-left:20px">Řešitel</label>
          <select {{action "participant_select"}} class="form-control" id="par_sel">
            <option value="">Všichni řešitelé</option>
            {{#each participants as |p|}}
                <option value="{{p.id}}">{{p.full_name}}</option>
            {{/each}}
          </select>
        </div>
      </div><commit_msg>Change way select events are called.<commit_after><section id="admin-correcting" class="container content-section" style="text-align:justify">
  <h2>Opravování</h2>
  <div class="panel panel-default">

    <div class="panel-heading">Zvolit omezení</div>
    <div class="panel-body">
      <div class="form-group">
        <div class="col-md-3">
          <label style="margin-left:20px">Vlna</label>
          {{#x-select value=wave class="form-control"}}
            {{#x-option value=""}}Vyber vlnu{{/x-option}}
            {{#each waves as |w|}}
              {{#x-option value=w.id}}{{w.caption}}{{/x-option}}
            {{/each}}
          {{/x-select}}
        </div>

        <div class="col-md-3">
          <label style="margin-left:20px">Vyber úlohu</label>
          <select onchange={{action "task_select"}} class="form-control" id="task_sel">
            <option value="">Všechny úlohy</option>
            {{#each tasks as |t|}}
                <option value="{{t.id}}">
                  <span style="color:
                    {{if t.base "red"}}
                    {{if t.working "orange"}}
                    {{if t.corrected "blue"}}
                    {{if t.published "green"}}
                    ">
                    {{{t.title}}}</span> - {{t.author.full_name}} - 
                      {{if t.base "Neopraveno"}}
                      {{if t.working "Opravuje se"}}
                      {{if t.corrected "Opraveno, nepublikováno"}}
                      {{if t.published "Publikováno"}}
                </option>
            {{/each}}
          </select>
        </div>

        <div class="col-md-3">
          <label style="margin-left:20px">Stav</label>
          {{#x-select value=state class="form-control"}}
            {{#x-option value="all"}}Všechny{{/x-option}}
            {{#x-option value="notcorrected"}}Neopravené{{/x-option}}
            {{#x-option value="corrected"}}Opravené{{/x-option}}
          {{/x-select}}
        </div>

        <div class="col-md-3">
          <label style="margin-left:20px">Řešitel</label>
          <select onchange={{action "participant_select"}} class="form-control" id="par_sel">
            <option value="">Všichni řešitelé</option>
            {{#each participants as |p|}}
                <option value="{{p.id}}">{{p.full_name}}</option>
            {{/each}}
          </select>
        </div>
      </div>
{'fraction_non_alphanumeric': 0.18854013060880556, 'fraction_numerical': 0.005898462186644196, 'mean_word_length': 1.7652882935352359, 'pattern_counts': {'":': 0, '<': 81, '<?xml version=': 0, '>': 81, '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': '7130078', 'n_tokens_mistral': 1551, 'n_tokens_neox': 1494, 'n_words': 254}