<commit_before>- if @meeting.venue.present?
  %h4 Venue
  %p
    %strong= @meeting.venue.name
  .monthly-host-logo
    = image_tag(@meeting.venue.avatar.thumb, alt: @meeting.venue.name)
  %strong Address
  %p= @host_address
  - if @host_address.directions
    %strong Directions
    %p= @host_address.directions
  - if @meeting.venue.accessibility_info
    %strong Accessibility information
    %p= @meeting.venue.accessibility_info

  %h4 RSVP

  - if logged_in?
    - if @meeting.past?
      %p This event has already occurred.

    - elsif current_user.banned?
      %p Your invitations have been temporarily suspended.

    - elsif @meeting.attending?(current_user)
      %h5 You are attending this event.
      %strong
        = link_to "Can't make it anymore? Click here to cancel your spot.", meeting_cancel_path(meeting_id: @meeting.id, token: @invitation.token)

    - elsif @meeting.invitable && @meeting.not_full
      = link_to "Attend", meeting_invitation_path(@meeting, token: @invitation&.token), class: "button round"

    - elsif !@meeting.not_full
      %h5 This event is now full.
      %strong To join the waitlist, please <a href="https://airtable.com/shrWPRlXDgjDGSYk6">fill in your details here</a>.

    - else
      %h5 This event is not open for RSVP.

  - else
    = link_to "Sign up", new_member_path, class: 'button'
    = link_to "Log in", login_path, class: 'button'
<commit_msg>meeting actions partial<commit_after>- if @meeting.venue.present?
  %h4 Venue
  %div.mb-2
    =link_to @meeting.venue.website, class: 'border-0' do
      = image_tag(@meeting.venue.avatar.thumb, alt: @meeting.venue.name)
  %strong Address
  %p= @host_address
  - if @host_address.directions
    %strong Directions
    %p= @host_address.directions
  - if @meeting.venue.accessibility_info
    %strong Accessibility information
    %p= @meeting.venue.accessibility_info

  %h4 RSVP

  - if logged_in?
    - if @meeting.past?
      %p.badge.bg-primary This event has already occurred

    - elsif current_user.banned?
      %p.badge.bg-danger Your invitations have been temporarily suspended

    - elsif @meeting.attending?(current_user)
      %p.badge.bg-success You are attending this event
      = link_to "Can't make it anymore? Click here to cancel your spots", meeting_cancel_path(meeting_id: @meeting.id, token: @invitation.token)

    - elsif @meeting.invitable && @meeting.not_full
      = link_to meeting_invitation_path(@meeting), class: 'btn btn-primary' do
        = "RSVP here"

    - elsif !@meeting.not_full
      %p.badge.bg-warning.text-dark This event is now full
      %p
        %strong To join the waitlist, please <a href="https://airtable.com/shrWPRlXDgjDGSYk6">fill in your details here</a>.

    - else
      %h5 This event is not open for RSVP.

  - else
    = link_to "Sign up", new_member_path, class: 'btn btn-primary'
    = link_to "Log in", login_path, class: 'btn btn-primary'

{'fraction_non_alphanumeric': 0.11034955448937629, 'fraction_numerical': 0.00411240575736806, 'mean_word_length': 3.212121212121212, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '924658', 'n_tokens_mistral': 1019, 'n_tokens_neox': 998, 'n_words': 260}