<commit_before>.page-header
  h1 Thank you
  p.lead Thanks for submitting your event for inclusion on West Cornwall Events.
  p We check every event before adding it to the website. Once it's been added to the website you'll recieve an email containing a link to your event
  - if @user_event.add_to_mailling_list?
    p Thank you for subscribing to our newsletter. We will send you occasional roundups of events around West Cornwall

.row

  .col-sm-12
    .panel.panel-default
      .panel-heading
        ' Event Details
      .panel-body
        p
          strong Title: 
          = @user_event.title
        p
          strong Description: 
          = @user_event.description
        p
          strong Location: 
          = @user_event.location
        p
          strong Link: 
          = @user_event.link

  .col-sm-6
    .panel.panel-default
      .panel-heading
        ' Date and time
      .panel-body
        p
          strong Date: 
          = @user_event.date
        - if @user_event.end_date.present?
          p
            strong End date: 
            = @user_event.end_date
        p
          strong Time: 
          = @user_event.time
        - if @user_event.time_end.present?
          strong Time end: 
          = @user_event.time_end

  .col-sm-6
    .panel.panel-default
      .panel-heading
        ' Event Image
      .panel-body
        - if @user_event.image.present?
          = image_tag @user_event.image, class: 'img-responsive'
        - else
          = image_tag 'no-image-available.jpg', class: 'img-responsive'
        
  .col-sm-12
    .panel.panel-default
      .panel-heading
        ' Your Details
      .panel-body
        p
          strong Your name: 
          = @user_event.first_name
        p
          strong Your name: 
          = @user_event.last_name
        p
          strong Your email: 
          = @user_event.user_email
        p
          strong Added to mailing list:  
          = @user_event.add_to_mailling_list

  .col-sm-12
    .panel.panel-default
      .panel-body
        = link_to 'Return to Homepage', 'http://westcornwallevents.co.uk', class: "btn btn-success"
        '
        = link_to 'Add Another Event', new_user_event_path, class: "btn btn-primary"
<commit_msg>Show appropriate venue of confirmation page<commit_after>.page-header
  h1 Thank you
  p.lead Thanks for submitting your event for inclusion on West Cornwall Events.
  p We check every event before adding it to the website. Once it's been added to the website you'll recieve an email containing a link to your event
  - if @user_event.add_to_mailling_list?
    p Thank you for subscribing to our newsletter. We will send you occasional roundups of events around West Cornwall

.row

  .col-sm-12
    .panel.panel-default
      .panel-heading
        ' Event Details
      .panel-body
        p
          strong Title: 
          = @user_event.title
        p
          strong Description: 
          = @user_event.description
        p
          strong Location: 
          - if @user_event.location.present?
            = @user_event.location
          - elsif @user_event.venue.present?
            = @user_event.venue.name
        - if @user_event.link.present?
          p
            strong Link: 
            = @user_event.link

  .col-sm-6
    .panel.panel-default
      .panel-heading
        ' Date and time
      .panel-body
        p
          strong Date: 
          = @user_event.date
        - if @user_event.end_date.present?
          p
            strong End date: 
            = @user_event.end_date
        p
          strong Time: 
          = @user_event.time
        - if @user_event.time_end.present?
          strong Time end: 
          = @user_event.time_end

  .col-sm-6
    .panel.panel-default
      .panel-heading
        ' Event Image
      .panel-body
        - if @user_event.image.present?
          = image_tag @user_event.image, class: 'img-responsive'
        - else
          = image_tag 'no-image-available.jpg', class: 'img-responsive'
        
  .col-sm-12
    .panel.panel-default
      .panel-heading
        ' Your Details
      .panel-body
        p
          strong Your name: 
          ' #{@user_event.first_name} #{@user_event.last_name}
        p
          strong Your email: 
          = @user_event.user_email
        p
          strong Added to mailing list:  
          = @user_event.add_to_mailling_list ? "Yes" : "No"

  .col-sm-12
    .panel.panel-default
      .panel-body
        = link_to 'Return to Homepage', 'http://westcornwallevents.co.uk', class: "btn btn-success"
        '
        = link_to 'Add Another Event', new_user_event_path, class: "btn btn-primary"

{'fraction_non_alphanumeric': 0.08187259512612227, 'fraction_numerical': 0.003847798204360838, 'mean_word_length': 1.643502824858757, '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': '4211138', 'n_tokens_mistral': 1420, 'n_tokens_neox': 1359, 'n_words': 370}