<commit_before><%= error_messages_for 'result' %>

<%= form_tag({:controller => 'results', :action => 'update', :id => @result.to_param}) %>
<%= hidden_field 'result', 'id' %>
<table class="base" cellspacing="0" cellpadding="0">
	<tr>
		<% for column in @result.race.result_columns_or_default %>
		<th><%= column %></th>
		<% end %>
	</tr>
	<tr>
		<% for column in @result.race.result_columns_or_default %>
		<td><%= text_field('result', column, :size => grid_columns(column).size, :autocomplete => 'off') if @result.respond_to?(grid_columns(column).field) %></td>
		<% end %>
	</tr>
	<tr>
		<td colspan="<%= @result.race.result_columns_or_default.size %>" align="right">
			<%= submit_tag "Save" %>
		</td>
	</tr>
</table>
<%= end_form_tag %>

<p>To remove a racer from the result, erase both the first name and last name.</p>
<p>If you change the racer name to an existing racer or alias, the result will move to that racer. This <strong>will not</strong> create any aliases.</p>
<p>If the new racer name doesn't exist, a new racer will be created.</p>
<p>Team names work the same way.<p><commit_msg>Updated text on result edit page<commit_after><%= error_messages_for 'result' %>

<%= form_tag({:controller => 'results', :action => 'update', :id => @result.to_param}) %>
<%= hidden_field 'result', 'id' %>
<table class="base" cellspacing="0" cellpadding="0">
	<tr>
		<% for column in @result.race.result_columns_or_default %>
		<th><%= column %></th>
		<% end %>
	</tr>
	<tr>
		<% for column in @result.race.result_columns_or_default %>
		<td><%= text_field('result', column, :size => grid_columns(column).size, :autocomplete => 'off') if @result.respond_to?(grid_columns(column).field) %></td>
		<% end %>
	</tr>
	<tr>
		<td colspan="<%= @result.race.result_columns_or_default.size %>" align="right">
			<%= submit_tag "Save" %>
		</td>
	</tr>
</table>
<%= end_form_tag %>

<p>To remove a racer from the result, erase both the first name and last name.</p>
<p>If you change the racer name to an existing racer or alias, the result will move to that racer. 
This <strong>will</strong> create an alias for the old name.</p>
<p>If the new racer name doesn't exist, a new racer will be created.</p>
<p>Team names work the same way.<p>
{'fraction_non_alphanumeric': 0.18621307072515667, 'fraction_numerical': 0.0017905102954341987, 'mean_word_length': 4.760309278350515, 'pattern_counts': {'":': 0, '<': 75, '<?xml version=': 0, '>': 85, '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': '800430', 'n_tokens_mistral': 853, 'n_tokens_neox': 776, 'n_words': 233}