<commit_before><div id="primary">
	<p>The following teams are associated with this organisation.</p>
	<ul class="teams"><% for team in @teams %>
		<li><%= link_to team.title,  team_url(:team => team) %></li><% end %>
	</ul>
</div>

<div id="secondary"><% if authorised? %>
	<h2>More</h2>
	<ul class="current">
		<li class="admin"><%= link_to 'New team...', new_team_url %></li>
	</ul><% end %>
	
	<h2>All done?</h2>
	<ul>
		<li><%= link_to 'Return to home', home_url %></li>
	</ul>
</div><commit_msg>Handle when no teams to list for organisation.<commit_after><div id="primary">
  <% if @teams.empty? -%>
  <p>There are no teams yet.</p>
  <% else -%>
  <p>The following teams are associated with this organisation.</p>
  <ul class="teams"><% for team in @teams %>
    <li><%= link_to team.title,  team_url(:team => team) %></li><% end %>
  </ul>
  <% end -%>  
</div>

<div id="secondary"><% if authorised? %>
  <h2>More</h2>
  <ul class="current">
    <li class="admin"><%= link_to 'New team...', new_team_url %></li>
  </ul><% end %>
  
  <h2>All done?</h2>
  <ul>
    <li><%= link_to 'Return to home', home_url %></li>
  </ul>
</div>
{'fraction_non_alphanumeric': 0.24010554089709762, 'fraction_numerical': 0.007036059806508356, 'mean_word_length': 3.7416666666666667, 'pattern_counts': {'":': 0, '<': 66, '<?xml version=': 0, '>': 68, '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': '5771398', 'n_tokens_mistral': 470, 'n_tokens_neox': 447, 'n_words': 121}