<commit_before><h1>Do Treatment</h1>

<% form_tag :action => 'medical_task_done', :id => @task do %>

<p>Bat<br />
<%= @medical_problem.bat.band %></p>

<p>Medical Problem<br />
<%= @medical_problem.title %></p>

<p>Description<br />
<%= @medical_problem.description %></p>

<p>Treatment<br />
<%= @medical_treatment.title %></p>

<p>Weight<br />
	<div class='left_indent'>
		<%= render :partial => 'bats/weigh_one_bat', :locals => {:bat => @medical_problem.bat, :initial_weight => true} %>
	</div>
</p>

<p><label for="task_history_date_done">Date Treatment Given</label><br />
<%= datetime_select 'task_history', 'date_done' %></p>

<p><label for="task_history_remarks">Remarks</label><br />
<%= text_area 'task_history', 'remarks', :rows => 2  %></p>

<%= submit_tag "Medical Treatment Done" %>
<% end %>

<p><%= render :partial => 'tasks/show_all_task_histories', :locals => {:task_histories => @task_histories, :redirect_me => 'do_medical_task'} %></p>

<p><%= render :partial => 'bats/display_weights', :locals => {:bat => @medical_problem.bat} %></p><commit_msg>Show's the medical description when you do a treatment.<commit_after><h1>Do Treatment</h1>

<% form_tag :action => 'medical_task_done', :id => @task do %>

<p>Bat<br />
<%= @medical_problem.bat.band %></p>

<p>Medical Problem<br />
<%= @medical_problem.title %></p>

<p>Medical Problem Description<br />
<%= @medical_problem.description %></p>

<p>Description<br />
<%= @medical_problem.description %></p>

<p>Treatment<br />
<%= @medical_treatment.title %></p>

<p>Weight<br />
	<div class='left_indent'>
		<%= render :partial => 'bats/weigh_one_bat', :locals => {:bat => @medical_problem.bat, :initial_weight => true} %>
	</div>
</p>

<p><label for="task_history_date_done">Date Treatment Given</label><br />
<%= datetime_select 'task_history', 'date_done' %></p>

<p><label for="task_history_remarks">Remarks</label><br />
<%= text_area 'task_history', 'remarks', :rows => 2  %></p>

<%= submit_tag "Medical Treatment Done" %>
<% end %>

<p><%= render :partial => 'tasks/show_all_task_histories', :locals => {:task_histories => @task_histories, :redirect_me => 'do_medical_task'} %></p>

<p><%= render :partial => 'bats/display_weights', :locals => {:bat => @medical_problem.bat} %></p>
{'fraction_non_alphanumeric': 0.22984942426926483, 'fraction_numerical': 0.002657218777679362, 'mean_word_length': 5.908256880733945, 'pattern_counts': {'":': 0, '<': 97, '<?xml version=': 0, '>': 125, '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': '3393674', 'n_tokens_mistral': 918, 'n_tokens_neox': 826, 'n_words': 158}