<commit_before>%br
%p= link_to '&larr; Retour aux résutats'.html_safe, :back

= flash_messages

%h3="Voyage de #{@trip.point_from.city} à #{@trip.point_to.city}"

.row
  .col-md-6
    .panel.panel-default
      .panel-body
        .row
          .col-md-4
            Départ
          .col-md-8
            %strong= @trip.point_from.city
        .row
          .col-md-4
            Arrivée
          .col-md-8
            %strong= @trip.point_to.city
        .row
          .col-md-4
            Date de départ
          .col-md-8
            %strong=l @trip.departure_date
        .row
          .col-md-4
            Heure de départ
          .col-md-8
            %strong=l @trip.departure_time, format: :short
        .row
          .col-md-4
            Nombre de places
          .col-md-8
            %strong=@trip.seats
        .row
          .col-md-4
            =t Trip.human_attribute_name(:comfort)
          .col-md-8
            %strong=t :"activerecord.attributes.trip.comfort_#{@trip.comfort}"
        .row
          .col-md-4
            Commentaire
          .col-md-8
            .well= @trip.description
        .row
          .col-md-4
            Prix
          .col-md-8
            = number_to_currency @trip.price
        .row
          .col-md-4
            Sexe
          .col-md-8
            =t :"activerecord.attributes.trip.title_#{@trip.title}"<commit_msg>display time in a nice format<commit_after>%br
%p= link_to '&larr; Retour aux résutats'.html_safe, :back

= flash_messages

%h3="Voyage de #{@trip.point_from.city} à #{@trip.point_to.city}"

.row
  .col-md-6
    .panel.panel-default
      .panel-body
        .row
          .col-md-4
            Départ
          .col-md-8
            %strong= @trip.point_from.city
        .row
          .col-md-4
            Arrivée
          .col-md-8
            %strong= @trip.point_to.city
        .row
          .col-md-4
            Date de départ
          .col-md-8
            %strong=l @trip.departure_date
        .row
          .col-md-4
            Heure de départ
          .col-md-8
            %strong=l @trip.departure_time.try(:strftime, "%k:%m")
        .row
          .col-md-4
            Nombre de places
          .col-md-8
            %strong=@trip.seats
        .row
          .col-md-4
            =t Trip.human_attribute_name(:comfort)
          .col-md-8
            %strong=t :"activerecord.attributes.trip.comfort_#{@trip.comfort}"
        .row
          .col-md-4
            Commentaire
          .col-md-8
            .well= @trip.description
        .row
          .col-md-4
            Prix
          .col-md-8
            = number_to_currency @trip.price
        .row
          .col-md-4
            Sexe
          .col-md-8
            =t :"activerecord.attributes.trip.title_#{@trip.title}"
{'fraction_non_alphanumeric': 0.11947218259629101, 'fraction_numerical': 0.014265335235378032, 'mean_word_length': 1.1153846153846154, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5144144', 'n_tokens_mistral': 973, 'n_tokens_neox': 949, 'n_words': 163}