<commit_before>- content_for :menu_items do
  li
    = link_to 'avatars', "/avatars/#{@team.slug}"

- if @person.blessed?
  div.row
    div.offset3
      = form_tag "/teams/#{@team.slug}/add", class: 'form=inline' do
        = text_field_tag :email, nil, placeholder: 'email'
        = submit_tag 'add', class: 'btn'

- @team.memberships.each do |membership|
  div.hero-unit
    div.row.person
      div.span4
        img src="#{membership.person.photo? ? membership.person.photo.url : '/assets/silhouette.png'}" width=300
      div.span4
        h1 = membership.person.full_name

        - if membership.person.chinese_name
          h1 = membership.person.chinese_name

        - if membership.person.pinyin_name
          h2 = membership.person.pinyin_name

        - if membership.person.preferred_name
          h2
            i #{membership.person.preferred_name}

        p = membership.person.email

        - if membership.person == @person
          = form_tag "/membership/#{membership.id}/soundcloud", class: 'form=inline' do
            = text_field_tag :sc_embed_code, nil, placeholder: 'soundcloud embed code'
            = submit_tag 'add', class: 'btn'<commit_msg>added embedded soundcloud iframe for memberships with associated audio<commit_after>- content_for :menu_items do
  li
    = link_to 'avatars', "/avatars/#{@team.slug}"

- if @person.blessed?
  div.row
    div.offset3
      = form_tag "/teams/#{@team.slug}/add", class: 'form=inline' do
        = text_field_tag :email, nil, placeholder: 'email'
        = submit_tag 'add', class: 'btn'

- @team.memberships.each do |membership|
  div.hero-unit
    div.row.person
      div.span4
        img src="#{membership.person.photo? ? membership.person.photo.url : '/assets/silhouette.png'}" width=300
      div.span4
        h1 = membership.person.full_name

        - if membership.person.chinese_name
          h1 = membership.person.chinese_name

        - if membership.person.pinyin_name
          h2 = membership.person.pinyin_name

        - if membership.person.preferred_name
          h2
            i #{membership.person.preferred_name}

        p = membership.person.email

        - if membership.track && membership.secret
          iframe height="166" scrolling="no" frameborder="no" src="http://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F#{membership.track}%3Fsecret_token%3D#{membership.secret}&amp;auto_play=false&amp;show_artwork=false&amp;color=ff7700"

        - if membership.person == @person
          = form_tag "/membership/#{membership.id}/soundcloud", class: 'form=inline' do
            = text_field_tag :sc_embed_code, nil, placeholder: 'soundcloud embed code'
            = submit_tag 'add', class: 'btn'
{'fraction_non_alphanumeric': 0.12573099415204678, 'fraction_numerical': 0.012426900584795321, 'mean_word_length': 2.764786795048143, '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': '3842117', 'n_tokens_mistral': 902, 'n_tokens_neox': 875, 'n_words': 163}