<commit_before><h4 id="extended-header-{{extends|URLify::filter}}">{"Custom Fields"}</h4>

<div id="extended-fields-{{extends|URLify::filter}}">
{% if ! count ($data->fields) %}
<p>{"No custom fields defined."} <a href="/admin/extended?extends={{extends}}&name={{name}}" target="_blank">{"Click here to add custom fields."}</a></p>
{% end %}

{% foreach fields as field %}
	{% if field->type === 'text' %}
		<p>
			{{field->label|Template::sanitize|__}}:<br />
			<input	type="text"
					name="_extended[{{field->name}}]"
					id="_extended_{{field->name}}"
					value="{{field->value|quotes}}"
					size="30"
			/>
			{% if field->required %}
				<span class="notice" id="_extended_{{field->name}}_notice">{{field->label|__}} {"is required"}.</span>
			{% end %}
		</p>
	{% elseif field->type === 'date' %}
		<p>
			{{field->label|Template::sanitize|__}}:<br />
			<input	type="text"<commit_msg>Generalized edit form CSS from blog edit form<commit_after><h4 id="extended-header-{{extends|URLify::filter}}" class="extended-header">{"Custom Fields"}</h4>

<div id="extended-fields-{{extends|URLify::filter}}" class="extended-fields">
{% if ! count ($data->fields) %}
<p>{"No custom fields defined."} <a href="/admin/extended?extends={{extends}}&name={{name}}" target="_blank">{"Click here to add custom fields."}</a></p>
{% end %}

{% foreach fields as field %}
	{% if field->type === 'text' %}
		<p>
			{{field->label|Template::sanitize|__}}:<br />
			<input	type="text"
					name="_extended[{{field->name}}]"
					id="_extended_{{field->name}}"
					value="{{field->value|quotes}}"
					size="30"
			/>
			{% if field->required %}
				<span class="notice" id="_extended_{{field->name}}_notice">{{field->label|__}} {"is required"}.</span>
			{% end %}
		</p>
	{% elseif field->type === 'date' %}
		<p>
			{{field->label|Template::sanitize|__}}:<br />
			<input	type="text"
{'fraction_non_alphanumeric': 0.2553418803418803, 'fraction_numerical': 0.004273504273504274, 'mean_word_length': 4.853125, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 55, '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': '347046', 'n_tokens_mistral': 761, 'n_tokens_neox': 644, 'n_words': 112}