<commit_before><h3><%= image_tag @group.avatar.url(:thumb) %><%= @group.name %></h3>
<h4><%= @group.description %></h4>
<% if @group.members.include?(current_user) %>
	<% @group.tags.each do |tag|%>
		<%= tag.name %>
	<% end %>
	<h4>Members</h4>

		<% if @group.members %>
			<ul>
			  <% @group.members.each do |member| %>
			    <li>
				    <!-- <a href="/users/<%#=member.id%>" class="group-members"%><%#=image_tag member.avatar(:thumb)%><%#=member.name%></a> -->
				    <%=image_tag member.avatar(:thumb)%><%=member.name%>
				    <% if (current_user == @group.creator) && (member != @group.creator) %>
				    	<button class="destroy">Remove</button>
				    <% end %>
			    </li>
			  <% end %>
			 </ul>
	  <% end %>

<!-- 	<h5>Search for Friends and Add Them to this Group</h5>
		<%#= form_tag('/users/search', :method => "get", id: "search-form") do %>
		<%#= text_field_tag :search, params[:search], placeholder: "Search Users" %>
		<%#= hidden_field_tag :group_id, params[:id] %>
		<%#= submit_tag "Search", :name => nil %>
		<%# end %> -->
<% if flash[:notice] %>
  <div class="notice"><%= flash[:notice] %></div>
<% end %> 

 <div class="search">
 <%= form_tag :controller => 'search', :action => 'create', :method => 'get' do %>
      <%= text_field_tag :keyword, params[:keyword], :id => 'search_field', placeholder: "Connect with others!" %>
      <%= hidden_field_tag :group_id, @group.id %>
      <%= submit_tag "Search ", :content => nil %> 
  <% end %> 
</div>

<%= render 'search/results' if @results %>

	<%# if @search_results %>
		<%# render 'users/search_results' %>
	<%# end %>

	<br>

		<%= render 'boards/form' %><br>
	<h2>Groups Boards</h2>
		<div id="group-boards">
			<%= render @boards %>
		  <%#= render 'comments/form' %><br>
		  <%#= render @comments %>
		 </div>
<% end %>
<commit_msg>moved the board form under boards div in group show page<commit_after><h3><%= image_tag @group.avatar.url(:thumb) %><%= @group.name %></h3>
<h4><%= @group.description %></h4>
<% if @group.members.include?(current_user) %>
	<% @group.tags.each do |tag|%>
		<%= tag.name %>
	<% end %>
	<h4>Members</h4>

		<% if @group.members %>
			<ul>
			  <% @group.members.each do |member| %>
			    <li>
				    <!-- <a href="/users/<%#=member.id%>" class="group-members"%><%#=image_tag member.avatar(:thumb)%><%#=member.name%></a> -->
				    <%=image_tag member.avatar(:thumb)%><%=member.name%>
				    <% if (current_user == @group.creator) && (member != @group.creator) %>
				    	<button class="destroy">Remove</button>
				    <% end %>
			    </li>
			  <% end %>
			 </ul>
	  <% end %>

<!-- 	<h5>Search for Friends and Add Them to this Group</h5>
		<%#= form_tag('/users/search', :method => "get", id: "search-form") do %>
		<%#= text_field_tag :search, params[:search], placeholder: "Search Users" %>
		<%#= hidden_field_tag :group_id, params[:id] %>
		<%#= submit_tag "Search", :name => nil %>
		<%# end %> -->
<% if flash[:notice] %>
  <div class="notice"><%= flash[:notice] %></div>
<% end %> 

 <div class="search">
 <%= form_tag :controller => 'search', :action => 'create', :method => 'get' do %>
      <%= text_field_tag :keyword, params[:keyword], :id => 'search_field', placeholder: "Connect with others!" %>
      <%= hidden_field_tag :group_id, @group.id %>
      <%= submit_tag "Search ", :content => nil %> 
  <% end %> 
</div>

<%= render 'search/results' if @results %>

	<%# if @search_results %>
		<%# render 'users/search_results' %>
	<%# end %>

	<br>

	<h2>Groups Boards</h2>
		<%= render 'boards/form' %><br>
		<div id="group-boards">
			<%= render @boards %>
		  <%#= render 'comments/form' %><br>
		  <%#= render @comments %>
		 </div>
<% end %>

{'fraction_non_alphanumeric': 0.24817122730967217, 'fraction_numerical': 0.00541858574911948, 'mean_word_length': 3.464328899637243, 'pattern_counts': {'":': 0, '<': 141, '<?xml version=': 0, '>': 155, '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': '3196598', 'n_tokens_mistral': 1582, 'n_tokens_neox': 1325, 'n_words': 272}