<commit_before><h1><%= @group.name %></h1>	
<h1><small><%= t("groups.manage_rooms.currentRooms") %></small></h1> <br>

    <table class="table table-striped">
    <% if @group.rooms %>
	     <thead>
	        <tr>
	          <th>Raum</th>
	        </tr>
	    </thead>
	<% end %>
	    <tbody>
			<% if @group.rooms.each do |room| %>
			<tr>
				<td><%= room.name %>  <%= link_to t('.delete', :default => t("groups.manage_rooms.delete")), unassign_room_group_path(@group,room)%> </td>
			</tr>
			<% end.empty? %>
				<p>Keine Räume zugewiesen </p>
			<% end %>
	    </tbody>
	</table>
<br>
<h2><%= t("groups.manage_rooms.addRoom") %></h2> <br>
<%= form_for @group, html: { :class => "form-horizontal event", :id => "assign-rooms-form" }, :url => assign_rooms_group_path(@group) do |f| %>

  <div class="control-group">
    <div class="controls">
    	<%= f.select :room_ids, options_from_collection_for_select(@unassigned_rooms, :id, :name), {}, {:class=> 'selectpicker', :id => 'selectpicker', :multiple =>'' }%>
    </div>
    <script>
    $('#selectpicker').selectpicker();
    </script>
  </div>
<br>
<%= f.submit t("groups.manage_rooms.add") , :class => 'btn btn-primary' %>
<%= link_to t('.back', :default => t("groups.edit.back")), group_path(@group), :class => 'btn btn-default' %>
<% end %>




<!-- <ul>
<% if @unassigned_rooms.each do |room| %>
	<li><%= room.name %>    <%= link_to 'Hinzufügen', assign_room_group_path(@group,room)%> </li>
<% end.empty? %>
	<p>Keine Räume verfügbar </p>
<% end %>
</ul> --><commit_msg>Update manage_rooms.html.erb<commit_after><h1><%= @group.name %></h1>	
<h1><small><%= t("groups.manage_rooms.currentRooms") %></small></h1> <br>

    <table class="table table-striped">
    <% if @group.rooms %>
	     <thead>
	        <tr>
	          <th>Raum</th>
	        </tr>
	    </thead>
	<% end %>
	    <tbody>
			<% if @group.rooms.each do |room| %>
			<tr>
				<td><%= room.name %>  <%= link_to t('.delete', :default => t("groups.manage_rooms.delete")), unassign_room_group_path(@group,room)%> </td>
			</tr>
			<% end.empty? %>
				<p>Keine Räume zugewiesen </p>
			<% end %>
	    </tbody>
	</table>
<br>
<h2><%= t("groups.manage_rooms.addRoom") %></h2> <br>
<%= form_for @group, html: { :class => "form-horizontal event", :id => "assign-rooms-form" }, :url => assign_rooms_group_path(@group) do |f| %>

  <div class="control-group">
    <div class="controls">
    	<%= f.select :room_ids, options_from_collection_for_select(@unassigned_rooms, :id, :name), {}, {:class=> 'selectpicker', :id => 'selectpicker', :multiple =>'' }%>
    </div>
    <script>
    $('#selectpicker').selectpicker();
    </script>
  </div>
<br>
<%= f.submit t("groups.manage_rooms.add") , :class => 'btn btn-primary' %>
<%= link_to t('.back', :default => t("groups.edit.back")), group_path(@group), :class => 'btn btn-default' %>
<% end %>
{'fraction_non_alphanumeric': 0.24614305750350632, 'fraction_numerical': 0.004207573632538569, 'mean_word_length': 3.5942028985507246, 'pattern_counts': {'":': 0, '<': 113, '<?xml version=': 0, '>': 133, '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': '1198109', 'n_tokens_mistral': 1204, 'n_tokens_neox': 1080, 'n_words': 203}