<commit_before>= render partial: 'shared/title', locals: { title: @course.title, date:  humanize_date_with_time(@course.date_and_time) }
%section#banner
  .row
    .large-12.columns
      %p= @course.short_description
      %p= @course.description.html_safe

      - if @course.url.present?
        =link_to "Read more about the course", @course.url

      %p
      - if @course.seats > @course.attending.length
        #{link_to "Sign up", new_member_path, class: 'button tiny round'} to receive an invitation.
      - else
        This course is fully booked. To receive an invitation to other courses we will be running, #{link_to("sign up", new_member_path)}.

  .row
    .large-12.columns
      %ul.small-block-grid-1.medium-block-grid-2.large-block-grid-2
        - @course.tutors.each do |tutor|
          %li.coach
            .row
              .small-2.columns
                =link_to twitter_url_for(tutor.twitter) do
                  =image_tag tutor.avatar(106), class: 'th radius'
              .small-10.columns
                =link_to twitter_url_for(tutor.twitter) do
                  = tutor.full_name
                %p= tutor.about_you.html_safe
<commit_msg>hide sign up button for course if in past<commit_after>= render partial: 'shared/title', locals: { title: @course.title, date:  humanize_date_with_time(@course.date_and_time) }
%section#banner
  .row
    .large-12.columns
      %p= @course.short_description
      %p= @course.description.html_safe

      - if @course.url.present?
        =link_to "Read more about the course", @course.url

      - if @course.date_and_time.future?
        %p
        - if @course.seats > @course.attending.length
          #{link_to "Sign up", new_member_path, class: 'button tiny round'} to receive an invitation.
        - else
          This course is fully booked. To receive an invitation to other courses we will be running, #{link_to("sign up", new_member_path)}.

  .row
    .large-12.columns
      %ul.small-block-grid-1.medium-block-grid-2.large-block-grid-2
        - @course.tutors.each do |tutor|
          %li.coach
            .row
              .small-2.columns
                =link_to twitter_url_for(tutor.twitter) do
                  =image_tag tutor.avatar(106), class: 'th radius'
              .small-10.columns
                =link_to twitter_url_for(tutor.twitter) do
                  = tutor.full_name
                %p= tutor.about_you.html_safe

{'fraction_non_alphanumeric': 0.1101105198526402, 'fraction_numerical': 0.010642652476463364, 'mean_word_length': 2.153548387096774, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6020111', 'n_tokens_mistral': 800, 'n_tokens_neox': 755, 'n_words': 180}