<commit_before><div class="jobs-new__form-container">
  <%= form_for(job, url: form_url, html: { class: "form-horizontal" }) do |form| %>
    <div class="jobs-new__form-element--name form-group">
      <label class="control-label col-sm-2" for="name">
        <%= Clockface::ClockworkScheduledJob.human_attribute_name("name") %>
      </label>
      <div class="col-sm-10">
        <%=
          form.select(
            :clockface_clockwork_event_id,
            job_form_select_options_for_name,
            { include_blank: true },
            { class: "form-control" }
          )
        %>
      </div>
    </div>

    <div class="jobs-new__form-element--enabled form-group">
      <label class="control-label col-sm-2" for="enabled">
        <%= Clockface::ClockworkScheduledJob.human_attribute_name("enabled") %>
      </label>
      <div class="col-sm-10">
        <%= form.check_box :enabled, checked: job.persisted? ? job.enabled? : true %>
      </div>
    </div>

    <div class="jobs-new__form-element--period form-group">
      <label class="control-label col-sm-2" for="period">
        <%= Clockface::ClockworkScheduledJob.human_attribute_name("period") %>
      </label>
      <div class="col-sm-10">
        <%=
          form.text_field(
            :period_value,
            size: 2,
            class: "jobs-new__form-element--period-value form-control"
          ) %>
        <%=
          form.select(
            :period_units,
            job_form_select_options_for_period_units,
            { include_blank: false },
            { class: "jobs-new__form-element--period-units form-control" }
          )
        %>
      </div>
    </div>

    <div class="jobs-new__form-element--at form-group">
      <label class="control-label col-sm-2" for="at">
        <%= Clockface::ClockworkScheduledJob.human_attribute_name("at") %>
      </label>
      <div class="col-sm-10">
        <%=
          form.select(
            :day_of_week,
            job_form_select_options_for_day_of_week,
            { include_blank: true },
            { class: "jobs-new__form-element--day-of-week form-control" }
          )
        %>
        &nbsp;
        &nbsp;
        <%=
          form.select(
            :hour,
            job_form_select_options_for_hour,
            { include_blank: false },
            { class: "jobs-new__form-element--hour form-control" }
          )
        %>
        <b>:</b>
        <%=
          form.select(
            :minute,
            job_form_select_options_for_minute,
            { include_blank: false },
            { class: "jobs-new__form-element--minute form-control" }
          )
        %>
      </div>
    </div>

    <div class="jobs-new__form-element--timezone form-group">
      <label class="control-label col-sm-2" for="timezone">
        <%= Clockface::ClockworkScheduledJob.human_attribute_name("timezone") %>
      </label>
      <div class="col-sm-10">
        <%=
          form.time_zone_select(
            :timezone,
            nil,
            { include_blank: false, default: default_timezone },
            { class: "form-control" }
          )
        %>
      </div>
    </div>

    <div class="jobs-new__form-element--if_condition form-group">
      <label class="control-label col-sm-2" for="if_condition">
        <%= Clockface::ClockworkScheduledJob.human_attribute_name("if_condition") %>
      </label>
      <div class="col-sm-10">
        <%=
          form.select(
            :if_condition,
            job_form_select_options_for_if_condition,
            { include_blank: true },
            { class: "form-control" }
          )
        %>
      </div>
    </div>

    <div class="form-group">
      <div class="jobs-new__form-submit col-sm-2">
        <%= link_to clockface.jobs_path do %>
          <button type="button" class="btn btn-default"><%= t(".cancel") %></button>
        <% end %>
        <%= form.submit(t(".submit"), class: "btn btn-success") %>
      </div>
    </div>
  <% end %>
</div>
<commit_msg>Dropdown for clockwork_event_id should not include a blank option<commit_after><div class="jobs-new__form-container">
  <%= form_for(job, url: form_url, html: { class: "form-horizontal" }) do |form| %>
    <div class="jobs-new__form-element--name form-group">
      <label class="control-label col-sm-2" for="name">
        <%= Clockface::ClockworkScheduledJob.human_attribute_name("name") %>
      </label>
      <div class="col-sm-10">
        <%=
          form.select(
            :clockface_clockwork_event_id,
            job_form_select_options_for_name,
            { include_blank: false },
            { class: "form-control" }
          )
        %>
      </div>
    </div>

    <div class="jobs-new__form-element--enabled form-group">
      <label class="control-label col-sm-2" for="enabled">
        <%= Clockface::ClockworkScheduledJob.human_attribute_name("enabled") %>
      </label>
      <div class="col-sm-10">
        <%= form.check_box :enabled, checked: job.persisted? ? job.enabled? : true %>
      </div>
    </div>

    <div class="jobs-new__form-element--period form-group">
      <label class="control-label col-sm-2" for="period">
        <%= Clockface::ClockworkScheduledJob.human_attribute_name("period") %>
      </label>
      <div class="col-sm-10">
        <%=
          form.text_field(
            :period_value,
            size: 2,
            class: "jobs-new__form-element--period-value form-control"
          ) %>
        <%=
          form.select(
            :period_units,
            job_form_select_options_for_period_units,
            { include_blank: false },
            { class: "jobs-new__form-element--period-units form-control" }
          )
        %>
      </div>
    </div>

    <div class="jobs-new__form-element--at form-group">
      <label class="control-label col-sm-2" for="at">
        <%= Clockface::ClockworkScheduledJob.human_attribute_name("at") %>
      </label>
      <div class="col-sm-10">
        <%=
          form.select(
            :day_of_week,
            job_form_select_options_for_day_of_week,
            { include_blank: true },
            { class: "jobs-new__form-element--day-of-week form-control" }
          )
        %>
        &nbsp;
        &nbsp;
        <%=
          form.select(
            :hour,
            job_form_select_options_for_hour,
            { include_blank: false },
            { class: "jobs-new__form-element--hour form-control" }
          )
        %>
        <b>:</b>
        <%=
          form.select(
            :minute,
            job_form_select_options_for_minute,
            { include_blank: false },
            { class: "jobs-new__form-element--minute form-control" }
          )
        %>
      </div>
    </div>

    <div class="jobs-new__form-element--timezone form-group">
      <label class="control-label col-sm-2" for="timezone">
        <%= Clockface::ClockworkScheduledJob.human_attribute_name("timezone") %>
      </label>
      <div class="col-sm-10">
        <%=
          form.time_zone_select(
            :timezone,
            nil,
            { include_blank: false, default: default_timezone },
            { class: "form-control" }
          )
        %>
      </div>
    </div>

    <div class="jobs-new__form-element--if_condition form-group">
      <label class="control-label col-sm-2" for="if_condition">
        <%= Clockface::ClockworkScheduledJob.human_attribute_name("if_condition") %>
      </label>
      <div class="col-sm-10">
        <%=
          form.select(
            :if_condition,
            job_form_select_options_for_if_condition,
            { include_blank: true },
            { class: "form-control" }
          )
        %>
      </div>
    </div>

    <div class="form-group">
      <div class="jobs-new__form-submit col-sm-2">
        <%= link_to clockface.jobs_path do %>
          <button type="button" class="btn btn-default"><%= t(".cancel") %></button>
        <% end %>
        <%= form.submit(t(".submit"), class: "btn btn-success") %>
      </div>
    </div>
  <% end %>
</div>

{'fraction_non_alphanumeric': 0.15217122355561055, 'fraction_numerical': 0.004948657676605221, 'mean_word_length': 1.8861121028204213, 'pattern_counts': {'":': 0, '<': 137, '<?xml version=': 0, '>': 137, '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': '5314457', 'n_tokens_mistral': 2649, 'n_tokens_neox': 2514, 'n_words': 372}