<commit_before>= render 'modal-attachment'

= render 'layouts/header'
.page
  .settings-container
    .title-container
      %h1.settings-title
        Welcome, #{@user.first_name}!
      .actions
        = link_to sign_out_path, method: "get", class: 'btn secondary' do
          <i class="fa fa-sign-out" aria-hidden="true"></i> Logout

    - if @teams.size == 0
      %h2.settings-subtitle
        You are not in a team yet
      %p
        In order to use Kudo-o-Matic you need to be in a team. You can wait for an invitation or create a new team
        yourself. Creating a team is very straightforward, all you need to do is enter your team name!
      .data-actions.actions
        = link_to new_team_path, method: "post", class: 'btn' do
          <i class="fa fa-plus" aria-hidden="true"></i> Create a new team
    - else
      %h2.settings-subtitle
        Choose your team
      %ul
        - @teams.each do |t|
          %li
            = link_to t.name, dashboard_path(t.slug)<commit_msg>Removed post attribute from create team button<commit_after>= render 'modal-attachment'

= render 'layouts/header'
.page
  .settings-container
    .title-container
      %h1.settings-title
        Welcome, #{@user.first_name}!
      .actions
        = link_to sign_out_path, method: "get", class: 'btn secondary' do
          <i class="fa fa-sign-out" aria-hidden="true"></i> Logout

    - if @teams.size == 0
      %h2.settings-subtitle
        You are not in a team yet
      %p
        In order to use Kudo-o-Matic you need to be in a team. You can wait for an invitation or create a new team
        yourself. Creating a team is very straightforward, all you need to do is enter your team name!
      .data-actions.actions
        = link_to new_team_path, class: 'btn' do
          <i class="fa fa-plus" aria-hidden="true"></i> Create a new team
    - else
      %h2.settings-subtitle
        Choose your team
      %ul
        - @teams.each do |t|
          %li
            = link_to t.name, dashboard_path(t.slug)
{'fraction_non_alphanumeric': 0.10390895596239486, 'fraction_numerical': 0.0039584364176150424, 'mean_word_length': 2.2044374009508716, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '4128027', 'n_tokens_mistral': 633, 'n_tokens_neox': 627, 'n_words': 215}