<commit_before><h1>Move Summary</h1>

<table>

<th>Bats</th>
<th>Old Cage</th>
<th>New Cage</th>
<th>Note</th>

<tr>

<td>
<% for bat in @bats %>
<%= bat.band %><br />
<% end %>
</td>

<td valign=top><%= @old_cage ? @old_cage.name : 'Inactive' %></td>

<td valign=top><%= @new_cage ? @new_cage.name : 'Inactive' %></td>

<td valign=top><%= @note %></td>

</tr>
</table>

<% if @new_cage != nil %>
<p><warning>Send email alert to owner of <%=h @new_cage.name %> that bat(s)
have been moved and are now under his/her care</warning></p>
<% end %>

<div id='cage_tasks'>
<% if (@old_cage != nil) && (@new_cage != nil) %>
<%= render :partial => 'bats/manage_cage_tasks_after_move', :locals => {:step=>1, :old_cage=>@old_cage,
										:new_cage=>@new_cage} %>
<% else %>
<% if @old_cage != nil %>
<%= render :partial => 'bats/manage_cage_tasks_after_deactivate_or_reactivate', :locals => {:step=>1, :cage=>@old_cage, :deactivating => true} %>
<% elsif @new_cage != nil %><commit_msg>warning message not needed anymore<commit_after><h1>Move Summary</h1>

<table>

<th>Bats</th>
<th>Old Cage</th>
<th>New Cage</th>
<th>Note</th>

<tr>

<td>
<% for bat in @bats %>
<%= bat.band %><br />
<% end %>
</td>

<td valign=top><%= @old_cage ? @old_cage.name : 'Inactive' %></td>

<td valign=top><%= @new_cage ? @new_cage.name : 'Inactive' %></td>

<td valign=top><%= @note %></td>

</tr>
</table>

<div id='cage_tasks'>
<% if (@old_cage != nil) && (@new_cage != nil) %>
<%= render :partial => 'bats/manage_cage_tasks_after_move', :locals => {:step=>1, :old_cage=>@old_cage,
										:new_cage=>@new_cage} %>
<% else %>
<% if @old_cage != nil %>
<%= render :partial => 'bats/manage_cage_tasks_after_deactivate_or_reactivate', :locals => {:step=>1, :cage=>@old_cage, :deactivating => true} %>
<% elsif @new_cage != nil %>
{'fraction_non_alphanumeric': 0.24653739612188366, 'fraction_numerical': 0.00443213296398892, 'mean_word_length': 4.921311475409836, 'pattern_counts': {'":': 0, '<': 82, '<?xml version=': 0, '>': 102, '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': '1541027', 'n_tokens_mistral': 855, 'n_tokens_neox': 776, 'n_words': 159}