<commit_before><h2>Edit a Farm</h2>

<%= form_for @farm do |f| %>
	
		<%= render 'form', f: f %>
	
	<h3>Edit Areas:</h3>
	<%= f.fields_for :areas do |area| %>
	
		<%= render 'area_fields', area: area %>
	
	<% end %>

	<%= f.submit %><br><br>
<% end %>

<%= link_to 'Back to Farm', farm_path %><br><br><commit_msg>added patch as farm/area edit form method<commit_after><h2>Edit a Farm</h2>

<%= form_for @farm, url: farm_path, method: :patch do |f| %>
	
		<%= render 'form', f: f %>
	
	<h3>Edit Areas:</h3>
	<%= f.fields_for :areas, url: area_path, method: :patch do |area| %>
	
		<%= render 'area_fields', area: area %>
	
	<% end %>

	<%= f.submit %><br><br>
<% end %>

<%= link_to 'Back to Farm', farm_path %><br><br>
{'fraction_non_alphanumeric': 0.23537604456824512, 'fraction_numerical': 0.011142061281337047, 'mean_word_length': 3.7933333333333334, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, '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': '3490274', 'n_tokens_mistral': 344, 'n_tokens_neox': 295, 'n_words': 75}