<commit_before>= form_for(@bus, url: h_oranges_url(@bus)) do |f|
  .panel
    .panel-body
      = f.hidden_field :name, value: t('buses.forms.name')
      .form-group{class: ('has-error' if @bus.errors.include? :note)}
        = f.label :note, t('helpers.direction')
        = f.select(:note, options_for_select(note_option_for_select, @bus.note), {}, {:class=>'form-control'})
        - if @bus.errors.include? :note
          %p.help-block
            - @bus.errors[:note].each do |message|
              = message
      .form-group{class: ('has-error' if @bus.errors.include? :depart)}
        = f.label :depart, t('helpers.depart')
        = f.time_field :depart, class: 'form-control', placeholder: t('helpers.depart')
        - if @bus.errors.include? :depart
          %p.help-block
            - @bus.errors[:depart].each do |message|
              = message
  .panel
    .panel-body
      .pull-right
        = link_to t('helpers.back'), new_admin_orange_path, class: 'btn btn-default btn-flat'
        = f.submit class: 'btn btn-success btn-flat'<commit_msg>修正連結錯誤<commit_after>= form_for(@bus, url: h_oranges_url(@bus)) do |f|
  .panel
    .panel-body
      = f.hidden_field :name, value: t('buses.forms.name')
      .form-group{class: ('has-error' if @bus.errors.include? :note)}
        = f.label :note, t('helpers.direction')
        = f.select(:note, options_for_select(note_option_for_select, @bus.note), {}, {:class=>'form-control'})
        - if @bus.errors.include? :note
          %p.help-block
            - @bus.errors[:note].each do |message|
              = message
      .form-group{class: ('has-error' if @bus.errors.include? :depart)}
        = f.label :depart, t('helpers.depart')
        = f.time_field :depart, class: 'form-control', placeholder: t('helpers.depart')
        - if @bus.errors.include? :depart
          %p.help-block
            - @bus.errors[:depart].each do |message|
              = message
  .panel
    .panel-body
      .pull-right
        = link_to t('helpers.back'), admin_oranges_path, class: 'btn btn-default btn-flat'
        = f.submit class: 'btn btn-success btn-flat'
{'fraction_non_alphanumeric': 0.1665098777046096, 'fraction_numerical': 0.0, 'mean_word_length': 2.4585365853658536, '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': '2219366', 'n_tokens_mistral': 720, 'n_tokens_neox': 730, 'n_words': 137}