<commit_before>%p.headline Ride #{ride.number}
.accordion_content
  = form_for ride, :html => {:multipart => true} do |f|
    = f.label("experience")
    = f.select("experience", [I18n.t('general.positive'), I18n.t('general.neutral'), I18n.t('general.negative')])
    .tabs
      %ul
        %li
          %a.last{:href => "#add_story_tab_#{ride.number}"}= add_story_image
        %li
          %a{:href => "#time_tab_#{ride.number}"}
            = waiting_time_image
        %li
          %a{:href => "#picture_tab_#{ride.number}"}= photo_image_button
        %li
          %a{:href => "#person_info_tab_#{ride.number}"}= about_person_image

      .tab_content{:id => "time_tab_#{ride.number}"}
        = f.label :duration
        %br/
        = f.text_field :duration, :placeholder => t('activerecord.attributes.ride.duration')
        %br/
        = f.label :waiting_time
        %br/
        = f.text_field :waiting_time, :placeholder => t('activerecord.attributes.ride.waiting_time')
        %br/
      .tab_content{:id => "picture_tab_#{ride.number}"}
        - if ride.photo.file?
          = link_to image_tag(ride.photo(:thumb)), ride.photo.to_s
          = link_to t('.delete_image'), delete_photo_ride_path(ride), :method => :delete, :confirm => 'Are you sure?'
          %br/
        = f.label :photo_caption
        %br/
        = f.text_field :photo_caption
        %br/
        = f.label :photo
        %br/
        = f.file_field :photo
        %br/
      .tab_content{:id => "person_info_tab_#{ride.number}"}
        = f.label :gender
        %br/
        = f.select("gender", [I18n.t('general.male'), I18n.t('general.female'), I18n.t('general.mixed')], {:include_blank => true})
        = f.fields_for :person do |builder|
          %br/
          = builder.label :mission
          %br/
          = builder.text_field :mission
          %br/
          = builder.label :origin<commit_msg>don't link thumb image to original image in Trips#edit<commit_after>%p.headline Ride #{ride.number}
.accordion_content
  = form_for ride, :html => {:multipart => true} do |f|
    = f.label("experience")
    = f.select("experience", [I18n.t('general.positive'), I18n.t('general.neutral'), I18n.t('general.negative')])
    .tabs
      %ul
        %li
          %a.last{:href => "#add_story_tab_#{ride.number}"}= add_story_image
        %li
          %a{:href => "#time_tab_#{ride.number}"}
            = waiting_time_image
        %li
          %a{:href => "#picture_tab_#{ride.number}"}= photo_image_button
        %li
          %a{:href => "#person_info_tab_#{ride.number}"}= about_person_image

      .tab_content{:id => "time_tab_#{ride.number}"}
        = f.label :duration
        %br/
        = f.text_field :duration, :placeholder => t('activerecord.attributes.ride.duration')
        %br/
        = f.label :waiting_time
        %br/
        = f.text_field :waiting_time, :placeholder => t('activerecord.attributes.ride.waiting_time')
        %br/
      .tab_content{:id => "picture_tab_#{ride.number}"}
        - if ride.photo.file?
          = image_tag(ride.photo(:thumb))
          = link_to t('.delete_image'), delete_photo_ride_path(ride), :method => :delete, :confirm => 'Are you sure?'
          %br/
        = f.label :photo_caption
        %br/
        = f.text_field :photo_caption
        %br/
        = f.label :photo
        %br/
        = f.file_field :photo
        %br/
      .tab_content{:id => "person_info_tab_#{ride.number}"}
        = f.label :gender
        %br/
        = f.select("gender", [I18n.t('general.male'), I18n.t('general.female'), I18n.t('general.mixed')], {:include_blank => true})
        = f.fields_for :person do |builder|
          %br/
          = builder.label :mission
          %br/
          = builder.text_field :mission
          %br/
          = builder.label :origin
{'fraction_non_alphanumeric': 0.1643155694879833, 'fraction_numerical': 0.006269592476489028, 'mean_word_length': 2.2366863905325443, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 31, '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': '6013664', 'n_tokens_mistral': 1316, 'n_tokens_neox': 1292, 'n_words': 215}