<commit_before><h2>Headers</h2>

<table id="header-table">
	<thead>
		<tr>
			<th class="left">Name</th>
			<th>Value</th>
		</tr>
	</thead>
	<tbody id="the-list" class="list:header">
		<% @layout.headers.each do |header| -%>
		<%= partial 'shared/header', :header => header, :type => :layout, :row_class => cycle("alternate", "") %>
		<%- end %>
	</tbody>
</table>

<%= partial 'shared/header_form', 
			:action => url(:webbastic_site_layout, @layout.site.id, @layout.id),
			:type => :layout,
			:obj_id => @layout.id %>

<h2>Content</h2>

<form action="<%= url(:webbastic_site_layout, @layout.site.id, @layout.id) %>" method="post" accept-charset="utf-8">
	<textarea name="layout[content]" rows="8" cols="40" class="mceEditor"><%= @layout.content %></textarea>
	<input type="hidden" name="_method" value="put"/>
	<p><input type="submit" value="Save &rarr;"></p>
</form><commit_msg>no tinymce on layout editor<commit_after><h2>Headers</h2>

<table id="header-table">
	<thead>
		<tr>
			<th class="left">Name</th>
			<th>Value</th>
		</tr>
	</thead>
	<tbody id="the-list" class="list:header">
		<% @layout.headers.each do |header| -%>
		<%= partial 'shared/header', :header => header, :type => :layout, :row_class => cycle("alternate", "") %>
		<%- end %>
	</tbody>
</table>

<%= partial 'shared/header_form', 
			:action => url(:webbastic_site_layout, @layout.site.id, @layout.id),
			:type => :layout,
			:obj_id => @layout.id %>

<h2>Content</h2>

<form action="<%= url(:webbastic_site_layout, @layout.site.id, @layout.id) %>" method="post" accept-charset="utf-8">
	<textarea name="layout[content]" rows="8" cols="40"><%= @layout.content %></textarea>
	<input type="hidden" name="_method" value="put"/>
	<p><input type="submit" value="Save &rarr;"></p>
</form>
{'fraction_non_alphanumeric': 0.24546485260770975, 'fraction_numerical': 0.009070294784580499, 'mean_word_length': 5.086206896551724, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 75, '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': '5913792', 'n_tokens_mistral': 734, 'n_tokens_neox': 671, 'n_words': 124}