<commit_before>- deadline = @deadlines.detect { |d| d.kind == kind }
- deadline = deadline.decorate if deadline.present?

- if deadline.present?
  .deadline id="deadline-#{deadline.id}"
    span.date-time-text
      => deadline.message
      span.trigger-at
        = deadline.formatted_trigger_time
    .deadline-form.well
      = simple_form_for deadline, url: admin_settings_deadline_path(deadline, year: params[:year]), remote: true, authenticity_token: true do |f|
        .control-date
          label.control-label Set date and time
        = f.hint "Please don't choose 00:00 or 12:00 as this time and date are automatically pulled in various places and these times often confuse people unless it is specified if it is noon/midday or midnight, and the system cannot specify that. Please choose 11:00 or 13:00 instead.",
                    class: "control-hint"
        .deadline-form-wrapper
          = f.input :trigger_at,
                    as: :separated_date_time,
                    input_html: { id: '' }

          .control-action
            = link_to "Cancel", "#", class: "btn btn-default btn-cancel if-no-js-hide"
            input type="button" value="Save" class="btn btn-primary btn-submit"
        .clear

    = link_to "Edit", "#", class: "edit-deadline if-no-js-hide"

    span.deadline-help
      - if deadline.help_message.present?
        span.glyphicon-info-sign.help-message
          .help-message-text
            = deadline.help_message<commit_msg>Removes deadline help copy<commit_after>- deadline = @deadlines.detect { |d| d.kind == kind }
- deadline = deadline.decorate if deadline.present?

- if deadline.present?
  .deadline id="deadline-#{deadline.id}"
    span.date-time-text
      => deadline.message
      span.trigger-at
        = deadline.formatted_trigger_time
    .deadline-form.well
      = simple_form_for deadline, url: admin_settings_deadline_path(deadline, year: params[:year]), remote: true, authenticity_token: true do |f|
        .control-date
          label.control-label Set date and time
        .clear
        .deadline-form-wrapper
          = f.input :trigger_at,
                    as: :separated_date_time,
                    input_html: { id: '' }

          .control-action
            = link_to "Cancel", "#", class: "btn btn-default btn-cancel if-no-js-hide"
            input type="button" value="Save" class="btn btn-primary btn-submit"
        .clear

    = link_to "Edit", "#", class: "edit-deadline if-no-js-hide"

    span.deadline-help
      - if deadline.help_message.present?
        span.glyphicon-info-sign.help-message
          .help-message-text
            = deadline.help_message
{'fraction_non_alphanumeric': 0.11281859070464767, 'fraction_numerical': 0.005997001499250375, 'mean_word_length': 2.369949494949495, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '522811', 'n_tokens_mistral': 802, 'n_tokens_neox': 770, 'n_words': 192}