<commit_before><div class = "wrapp">
	<h1><%= @team.name %></h1>
	<div class="row">
		<div class="col-md-6" id="teambox">
			<h3>Goal: <%= @team.goal %> lbs</h2>
			<h4>Donation Location: <%= @team.donation_location %></h3>
			<h4>Team Leader: <%= @team.leader.full_name %></h3>
			<p>Email: <%= mail_to @team.leader.email, @team.leader.email, {target: "_blank"} %></p>
		</div>
		<div class="col-md-6" id="teamphoto">
			<%= image_tag(@urls[0], height: '200', width: '200') if @urls[0] %>
		</div>
	</div>
	<div class="progbox">
		<p><strong>Team Progress:</strong> <%= @team.current_weight %> lbs</p>
		<p><strong>Percentage:</strong> <%= @team.current_progress.round(1) %>%</p>
		<div class="progress progress-striped">
		    <div class="progress-bar progress-bar-striped" role="progressbar" data-transitiongoal="<%=@team.current_progress_100%>">
		    </div>
		</div>
	</div>

	<div class = "instagram">
		<h3>Post Instagram Photos to <%= @team.hashtag %>!</h3>
		<% @urls.each do |url| %>
			<%= image_tag(url, height: '100', width: '100') %>
		<% end %>
	</div>

	<ul class="nav nav-tabs">
	  <li class="active"><a href="#roster" data-toggle="tab" aria-expanded="false">Roster</a></li>
	  <li class=""><a href="#listfoods" data-toggle="tab" aria-expanded="true">Donated Foods</a></li>
	</ul>
	<div id="myTabContent" class="tab-content">
		<div class="tab-pane fade active in" id="roster">
			<div class = "roster">
				<h3>Roster</h3>

				<ul class="list-group">
				  <% @team.users.each do |user| %>
				    <li class="list-group-item"><%= link_to("#{user.full_name}", user_path(user.id)) %></li>
				  <% end %>
				</ul>

				<%= form_for UserTeam.new, :html => { :class => "button_to" } do |f| %>
			     <%= f.hidden_field :team_id, :value => @team.id %>
			     <%= f.submit "Join This Team", :class => "link"  %>
			  <%end %>
		  </div>
		</div>
		<div class="tab-pane fade" id="listfoods">
			<div class="listfoods">
				<%= render "nonleader_foods", object: @team %>
					<% if @team.leader == current_user && !@team.no_unverified_foods? %>
						<%= render "leader_foods", object: @team %>
					<% end %>
				</div>
			</div>
		</div>
	
	<div class="emailbox">
		<% if @team.leader == current_user %>
			<div class ="admin_panel">
				<div class= "admin-invite-team-members">
					<h3><%=  mail_to(nil, "Click to invite new members!", {subject: "Please Join #{@team.name}", body: "Hey buddy, why dont cha join this here team? Come on do it boi!, Thanks.", target: '_blank'}) %></h3>
				</div>

				<hr class="style-one">

				<div class="admin-team-email-generator">
					<h4>Send an email blast to the team!</h4><commit_msg>more styling<commit_after><div class = "wrapp">
	<h1><%= @team.name %></h1>
	<div class="row">
		<div class="col-md-6" id="teambox">
			<h3>Goal: <%= @team.goal %> lbs</h2>
			<h4>Donation Location: <%= @team.donation_location %></h3>
			<h4>Team Leader: <%= @team.leader.full_name %></h3>
			<p>Email: <%= mail_to @team.leader.email, @team.leader.email, {target: "_blank"} %></p>
		</div>
		<div class="col-md-6" id="teamphoto">
			<%= image_tag(@urls[0], height: '200', width: '200') if @urls[0] %>
		</div>
	</div>
	<div class="progbox">
		<p><strong>Team Progress:</strong> <%= @team.current_weight %> lbs</p>
		<p><strong>Percentage:</strong> <%= @team.current_progress.round(1) %>%</p>
		<div class="progress progress-striped">
		    <div class="progress-bar progress-bar-striped" role="progressbar" data-transitiongoal="<%=@team.current_progress_100%>">
		    </div>
		</div>
	</div>

	<div class = "instagram">
		<h3>Post Instagram Photos to <%= @team.hashtag %>!</h3>
		<% @urls.each do |url| %>
			<%= image_tag(url, height: '100', width: '100') %>
		<% end %>
	</div>

	<ul class="nav nav-tabs">
	  <li class="active"><a href="#roster" data-toggle="tab" aria-expanded="false">Roster</a></li>
	  <li class=""><a href="#listfoods" data-toggle="tab" aria-expanded="true">Donated Foods</a></li>
	</ul>
	<div id="myTabContent" class="tab-content">
		<div class="tab-pane fade active in" id="roster">
			<div class = "roster">
				<h3>Roster</h3>

				<ul class="list-group">
				  <% @team.users.each do |user| %>
				    <li class="list-group-item"><%= link_to("#{user.full_name}", user_path(user.id)) %></li>
				  <% end %>
				</ul>

				<%= form_for UserTeam.new, :html => { :class => "button_to" } do |f| %>
			     <%= f.hidden_field :team_id, :value => @team.id %>
			     <%= f.submit "Join This Team", :class => "link"  %>
			  <%end %>
		  </div>
		</div>
		<div class="tab-pane fade" id="listfoods">
			<div class="listfoods">
				<%= render "nonleader_foods", object: @team %>
					<% if @team.leader == current_user && !@team.no_unverified_foods? %>
						<%= render "leader_foods", object: @team %>
					<% end %>
				</div>
			</div>
		</div>
	
	<div class="emailbox">
		<% if @team.leader == current_user %>
			<div class ="admin_panel">
				<div class= "admin-invite-team-members">
					<h3><%=  mail_to(nil, "Invite New Members!", {subject: "Please Join #{@team.name}", body: "Hey buddy, why dont cha join this here team? Come on do it boi!, Thanks.", target: '_blank', :class => "btn btn-info"}) %></h3>
				</div>

				<hr class="style-one">

				<div class="admin-team-email-generator">
					<h4>Send an email blast to the team!</h4><br />
{'fraction_non_alphanumeric': 0.2319277108433735, 'fraction_numerical': 0.01355421686746988, 'mean_word_length': 3.6728232189973613, 'pattern_counts': {'":': 0, '<': 198, '<?xml version=': 0, '>': 207, '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': '4599391', 'n_tokens_mistral': 2400, 'n_tokens_neox': 1993, 'n_words': 433}