<commit_before><%if @group_area.area_partecipations.count > 0 %>
<table id="roles_table">
	<thead>
		<th><%= t('pages.groups.edit_permissions.user_title') %></th>
		<th><%= t('pages.groups.edit_permissions.role_title') %></th>
	</thead>
	<tbody>
		<%@group_area.area_partecipations.each do |gp| %>
		<%if gp.user != current_user%>
		<tr>	
			<td>
              <%= gp.user.user_image_tag 16 %>
              <%= link_to gp.user.fullname, gp.user %>
			</td>
			<td>
				<%=select_tag "user_role", options_from_collection_for_select(@group_area.area_roles,:id,:name,gp.area_role.id), "data-user_id" => gp.user.id, :class => "user_role_changer" %>
			</td>
		</tr>
		<%end%>
		<%end%>
	</tbody>
</table>
<%else%>
    <h4><%= t('pages.groups.edit_permissions.no_users_yet') %></h4>
<%end%><commit_msg>bugfix for group areas<commit_after><%if @group_area.area_partecipations.count > 0 %>
<table id="roles_table">
	<thead>
		<th><%= t('pages.groups.edit_permissions.user_title') %></th>
		<th><%= t('pages.groups.edit_permissions.role_title') %></th>
	</thead>
	<tbody>
		<%@group_area.area_partecipations.each do |gp| %>
		<tr>
			<td>
              <%= gp.user.user_image_tag 16 %>
              <%= link_to gp.user.fullname, gp.user %>
			</td>
			<td>
				<%=select_tag "user_role", options_from_collection_for_select(@group_area.area_roles,:id,:name,gp.area_role.id), "data-user_id" => gp.user.id, :class => "user_role_changer" %>
			</td>
		</tr>
		<%end%>
	</tbody>
</table>
<%else%>
    <h4><%= t('pages.groups.edit_permissions.no_users_yet') %></h4>
<%end%>
{'fraction_non_alphanumeric': 0.21844971172325434, 'fraction_numerical': 0.0064061499039077515, 'mean_word_length': 3.990415335463259, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 69, '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': '6194916', 'n_tokens_mistral': 733, 'n_tokens_neox': 643, 'n_words': 92}