<commit_before>#e_name
  = label :event, :name, 'Name', class: 'field'
  = text_field :event, 'name', placeholder: 'Name', class: 'edit_text_field'

#e_image
  %p.field Image Upload
  = file_field :event, :image, :id => "image"

#e_start_time
  = label :event, :start, 'Start Time', class: 'field'
  = datetime_select :event, :start, class: 'edit_text_field'

#e_end_time
  = label :event, :end, 'End Time', class: 'field'
  = datetime_select :event, :end, class: 'edit_text_field'

= hidden_field :event, :organization, value: 'Nature in the City'<commit_msg>Only allow images for image upload form.<commit_after>#e_name
  = label :event, :name, 'Name', class: 'field'
  = text_field :event, 'name', placeholder: 'Name', class: 'edit_text_field'

#e_image
  %p.field Image Upload
  = file_field :event, :image, id: 'image', accept: 'image/*'

#e_start_time
  = label :event, :start, 'Start Time', class: 'field'
  = datetime_select :event, :start, class: 'edit_text_field'

#e_end_time
  = label :event, :end, 'End Time', class: 'field'
  = datetime_select :event, :end, class: 'edit_text_field'

= hidden_field :event, :organization, value: 'Nature in the City'
{'fraction_non_alphanumeric': 0.15735167669819433, 'fraction_numerical': 0.0, 'mean_word_length': 5.395604395604396, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '4999370', 'n_tokens_mistral': 426, 'n_tokens_neox': 421, 'n_words': 121}