<commit_before><section>
	<div class="row">
		<div class="grid_6">

		<form method="post" accept-charset="utf-8"
			action="<?php echo Config::Web($this->saveAction); ?>/<?php echo (isset($this->object)) ? $this->object->id : null; ?>"
			name="editForm">

			<fieldset>
			<legend><?php echo Localized::ModelLabel($this->model->tableName(),"FormLegend"); ?></legend>

			<?php
				$realObj = (isset($this->object)) ? $this->object : null;
				$realType = null;
			?>

			<?php foreach ($this->model->attributesFor($realObj, $realType) as $attr => $form_type) : ?>

				<div class="">
				<?php $attrEditable = $this->model->attributeIsEditable($realObj, $realType, $attr);
					$attrName = $this->model->attributeName($realObj, $realType, $attr);
					$attValue = null;
					if ( isset($_POST, $_POST[$attrName]) ) {
						$attValue = $_POST[$attrName];
					}
					else if (isset($this->{$attr})) {
						$attValue = $this->{$attr};
					}

					$this->renderFormField( $form_type, $realObj, $realType, $this->model, $attr, $attValue, $attrEditable );
				?>
				</div>
			<?php endforeach; ?>
			<br>

			<div class="half">
				<input type="submit" name="edit_submit" value="<?php echo Localized::GlobalLabel("SaveButton"); ?>" />
			</div>

			<div class="half omega">
				<input type="reset"value="<?php echo Localized::GlobalLabel("ResetButton"); ?>"/>
			</div>
			</fieldset>
		</form>

		</div>

	<?php if (isset($this->object, $this->additionalAction) && null != $this->object->externalEndpoint()) : ?>
		<div class="grid_3">

		<form method="post"
			action="<?php echo Config::Web($this->additionalAction); ?>/<?php echo (isset($this->object)) ? $this->object->id : null; ?>"
			name="editForm">

			<fieldset><commit_msg>Fixes #43	Series was already removed, but I htink Aliases are still appropriate for Character pages<commit_after><section>
	<div class="row">
		<div class="grid_6">

		<form method="post" accept-charset="utf-8"
			action="<?php echo Config::Web($this->saveAction); ?>/<?php echo (isset($this->object)) ? $this->object->id : null; ?>"
			name="editForm">

			<fieldset>
			<legend><?php echo Localized::ModelLabel($this->model->tableName(),"FormLegend"); ?></legend>

			<?php
				$realObj = (isset($this->object)) ? $this->object : null;
				$realType = null;
			?>

			<?php foreach ($this->model->attributesFor($realObj, $realType) as $attr => $form_type) : ?>

				<div class="">
				<?php $attrEditable = $this->model->attributeIsEditable($realObj, $realType, $attr);
					$attrName = $this->model->attributeName($realObj, $realType, $attr);
					$attValue = null;
					if ( isset($_POST, $_POST[$attrName]) ) {
						$attValue = $_POST[$attrName];
					}
					else if (isset($this->{$attr})) {
						$attValue = $this->{$attr};
					}

					$this->renderFormField( $form_type, $realObj, $realType, $this->model, $attr, $attValue, $attrEditable );
				?>
				</div>
			<?php endforeach; ?>

			<div class="half">
				<input type="submit" name="edit_submit" value="<?php echo Localized::GlobalLabel("SaveButton"); ?>" />
			</div>

			<div class="half omega">
				<input type="reset"value="<?php echo Localized::GlobalLabel("ResetButton"); ?>"/>
			</div>
			</fieldset>
		</form>

		</div>

	<?php if (isset($this->object, $this->additionalAction) && null != $this->object->externalEndpoint()) : ?>
		<div class="grid_3">

		<form method="post"
			action="<?php echo Config::Web($this->additionalAction); ?>/<?php echo (isset($this->object)) ? $this->object->id : null; ?>"
			name="editForm">

			<fieldset>
{'fraction_non_alphanumeric': 0.21996615905245348, 'fraction_numerical': 0.0022560631697687537, 'mean_word_length': 4.125722543352601, 'pattern_counts': {'":': 0, '<': 70, '<?xml version=': 0, '>': 124, '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': '5543124', 'n_tokens_mistral': 1406, 'n_tokens_neox': 1178, 'n_words': 235}