<commit_before><div>
<?php echo form::open(); ?>
	<fieldset>
		<legend>New Navigation Item</legend>
		<p class="info">
		The <strong>Tag</strong> field is a unique identifier for the Navigation Item.
		Usually	it is good practice to use the path to the item as the tag (this
		ensures the tag will be unique). Ex: main.home (as a tag for the Home link
		located under the Main Menu).  The <strong>Name</strong> field is the
		text the visitors will see in the menu.
		</p>
		<p class="info">
		The <strong>Parent</strong> is the location you want this item to be placed in.
		root will start a new Navigation Tree (like Admin Menu).
		All the links under Admin Menu will have a Parent of 'Admin Menu'.
		You can have as many sub-menu's as you like.
		</p>
		<input type="hidden" name="new_navigation_content" value="TRUE" />
		<label>Tag: <input name="tag" type="text" /></label>
		<label>Name: <input name="name" type="text" /></label>
		<label for="nav.parent">
			Parent:
			<select name="parent_id" id="nav.parent">
				<?php foreach($nodes as $node): ?>
				<option value="<?php echo $node->id; ?>">
				<?php echo str_repeat('----', $node->level); ?>
				<?php echo $node->name; ?>
				</option>
				<?php endforeach; ?>
			</select>
		</label>
		<p class="info">
		Navigation Items can be links to Pages (which will tie a link to a page
		alias), or you can set a manual link to specify an outside page like
		'http://google.com'.  If a Page is selected, the Manual Link field will
		be ignored.
		</p>
		<label>Link to a Page:
			<select name="page_id">
				<option value="0" >None</option>
				<?php foreach ($pages as $id => $alias ): ?>
				<option value="<?php echo $id; ?>" ><?php echo $alias; ?></option>
				<?php endforeach; ?>
			</select>
		</label>
		<label>
			Manual Link:
			<input name="anchor" type="text" /></label>
		</label>
		<button type="submit" name="create">Craete</button>
	</fieldset>
<?php echo form::close(); ?>
</div><commit_msg>a little more user friendlyness...@TODO: fix nav and basic content creation<commit_after><div>
<?php echo form::open(); ?>
	<fieldset>
		<legend>New Navigation Item</legend>
		<p class="info">
		The <strong>Tag</strong> field is a unique identifier for the Navigation Item.
		Usually	it is good practice to use the path to the item as the tag (this
		ensures the tag will be unique). Ex: main.home (as a tag for the Home link
		located under the Main Menu).  The <strong>Name</strong> field is the
		text the visitors will see in the menu.
		</p>
		<p class="info">
		The <strong>Parent</strong> is the location you want this item to be placed in.
		root will start a new Navigation Tree (like Admin Menu).
		All the links under Admin Menu will have a Parent of 'Admin Menu'.
		You can have as many sub-menu's as you like.
		</p>
		<input type="hidden" name="new_navigation_content" value="TRUE" />
		<label>Tag: <input name="tag" type="text" value="<?php echo (isset($_POST['tag']))?$_POST['tag']:NULL;?>" /></label>
		<label>Name: <input name="name" type="text" value="<?php echo (isset($_POST['name']))?$_POST['name']:NULL;?>" /></label>
		<label for="nav.parent">
			Parent:
			<select name="parent_id" id="nav.parent">
				<?php foreach($nodes as $node): ?>
				<option value="<?php echo $node->id; ?>">
				<?php echo str_repeat('----', $node->level); ?>
				<?php echo $node->name; ?>
				</option>
				<?php endforeach; ?>
			</select>
		</label>
		<p class="info">
		Navigation Items can be links to Pages (which will tie a link to a page
		alias), or you can set a manual link to specify an outside page like
		'http://google.com'.  If a Page is selected, the Manual Link field will
		be ignored.
		</p>
		<label>Link to a Page:
			<select name="page_id">
				<option value="0" >None</option>
				<?php foreach ($pages as $id => $alias ): ?>
				<option value="<?php echo $id; ?>" ><?php echo $alias; ?></option>
				<?php endforeach; ?>
			</select>
		</label>
		<label>
			Manual Link:
			<input name="anchor" type="text" value="<?php echo (isset($_POST['anchor']))?$_POST['anchor']:NULL;?>" /></label>
		</label>
		<button type="submit" name="create">Craete</button>
	</fieldset>
<?php echo form::close(); ?>
</div>
{'fraction_non_alphanumeric': 0.1680972818311874, 'fraction_numerical': 0.0004768717215069146, 'mean_word_length': 3.718785151856018, 'pattern_counts': {'":': 0, '<': 118, '<?xml version=': 0, '>': 126, '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': '2891638', 'n_tokens_mistral': 1506, 'n_tokens_neox': 1336, 'n_words': 512}