<commit_before><div class="row">
	<div class="col s12">
		<%= current_user.name + "'s" %> Projects
	</div>
</div>
<div class="container">
	
	<% @projects.each do |project| %>
	<div class="card">
		<div class="card-content">
			<span class="card-title"><%= link_to project.title, user_project_path(current_user,project) %></span>
			<p class="grey-text">Started by <%= project.creator.name %></p>
			<p><%= project.description %></p>
			<ul class="collection with-header">
				<li class="collection-header"><b>Members</b></li>
			
				<% project.members.each do |user| -%>
				<li class="collection-item avatar">
					<%= render 'users/avatar', user: user %>
					<span><%= user.name %></span>
				</li>
				<% end %>
			</ul>
		</div>
		<div class="card-action">
			<%= link_to 'Add member', new_project_user_path(project) %>
			<%= link_to 'Delete Project', [project.creator,project],method: :delete, data: {confirm: "Are you sure?"} %>
		</div>
	</div>
	<% end %>
</div>
<commit_msg> Project creator assigns member to project<commit_after><div class="row">
	<div class="col s12">
		<%= current_user.name + "'s" %> Projects
	</div>
</div>
<div class="container">
	
	<% @projects.each do |project| %>
	<div class="card">
		<div class="card-content">
			<span class="card-title"><%= link_to project.title, user_project_path(current_user,project) %></span>
			<p class="grey-text">Started by <%= project.creator.name %></p>
			<p><%= project.description %></p>
			<ul class="collection with-header">
				<li class="collection-header"><b>Members</b></li>
			
				<% project.members.each do |user| -%>
				<li class="collection-item avatar">
					<%= render 'users/avatar', user: user %>
					<span><%= user.name %></span>
				</li>
				<% end %>
			</ul>
		</div>
		<div class="card-action">
		<% if project.creator == current_user %>
			<%= link_to 'Add member', new_project_user_path(project) %>
			<%= link_to 'Delete Project', [project.creator,project],method: :delete, data: {confirm: "Are you sure?"} %>
		<% end %>
		</div>
	</div>
	<% end %>
</div>

{'fraction_non_alphanumeric': 0.2195715676728335, 'fraction_numerical': 0.0019474196689386564, 'mean_word_length': 3.9045346062052504, 'pattern_counts': {'":': 0, '<': 85, '<?xml version=': 0, '>': 85, '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': '3289695', 'n_tokens_mistral': 867, 'n_tokens_neox': 717, 'n_words': 160}