<commit_before><h1>Tutti i gruppi</h1>

<% @groups.each do |group| %>
<div class="groupListContainer">
	<div class="groupUserImage">
		<img src="http://www.gravatar.com/avatar/2cce45bcf6c3272c1940a020cd037977?s=50">		
	</div>
	<div class="groupName">
		<h3><%= link_to group.name, group %></h3>
	</div>
	<div class="groupDescription">
		
	</div>
	<div class="groupFooter">
		<%= link_to 'Modifica', edit_group_path(group), :class => 'editButton littleText' if (is_admin?)%>
		<%= link_to 'Cancella', group, :confirm => 'Sei sicuro di voler eliminare questo gruppo?', :method => :delete, :class => 'deleteButton littleText' if (is_admin?)%>	
	</div>
	<div style="clear: both"></div>
</div>
<%end%> 

<script type="text/javascript">
	$(function() {
		disegnaBottoni();
		
	});

</script>

<%= link_to 'Nuovo gruppo', new_group_path if is_admin? %>

<%=content_for :left_panel do%>
	<%= render :partial => 'users/user_groups_panel' %>


<%end%><commit_msg>Permesso ad ogni utente di creare un gruppo<commit_after><h1>Tutti i gruppi</h1>
<%= link_to 'Crea un nuovo gruppo', new_group_path, :class => "buttonStyle" if current_user %>
<br />
<br />
<% @groups.each do |group| %>
<div class="groupListContainer">
	<div class="groupUserImage">
		<img src="http://www.gravatar.com/avatar/2cce45bcf6c3272c1940a020cd037977?s=50">		
	</div>
	<div class="groupName">
		<h3><%= link_to group.name, group %></h3>
	</div>
	<div class="groupDescription">
		
	</div>
	<div class="groupFooter">
		<%= link_to 'Modifica', edit_group_path(group), :class => 'editButton littleText' if (is_admin?)%>
		<%= link_to 'Cancella', group, :confirm => 'Sei sicuro di voler eliminare questo gruppo?', :method => :delete, :class => 'deleteButton littleText' if (is_admin?)%>	
	</div>
	<div style="clear: both"></div>
</div>
<%end%> 

<script type="text/javascript">
	$(function() {
		disegnaBottoni();
		
	});

</script>



<%=content_for :left_panel do%>
	<%= render :partial => 'users/user_groups_panel' %>


<%end%>
{'fraction_non_alphanumeric': 0.1998992950654582, 'fraction_numerical': 0.027190332326283987, 'mean_word_length': 5.307936507936508, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 72, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3843751', 'n_tokens_mistral': 848, 'n_tokens_neox': 781, 'n_words': 164}