<commit_before><?= $this->partial('breadcrumb', [ 'crumbs' => [
	[ 'name'=> 'Pages', 'url' => '/pages' ],
	[ 'name'=> 'Update Page', 'active' => 'true' ],
]]); ?>

<div class="card">
	<div class="card-header">
		Page information
	</div>
	<div class="card-block">
		<form method="POST" accept-charset="UTF-8" data-form-ajax="">
			<input name="id" type="hidden" value="<?= $this->page['id'] ?>">
			<input name="author_user_id" type="hidden" value="<?= $_SESSION['user']['id'] ?>">

			<div class="form-group">
				<label>Page Name</label>
				<input placeholder="Name" class="form-control required" name="page_name" type="text" value="<?= $this->page['name'] ?>">
			</div>

			<div class="form-group">
				<label>Permalink</label>
				<input placeholder="/my-permalink" class="form-control required" name="permalink" type="text" value="<?= $this->page['permalink'] ?>">
			</div>

			<button type="submit" class="btn btn-primary">Save</button>
			<a class="btn btn-secondary" href="/pages">Cancel</a>
		</form>
	</div>
</div><commit_msg>master: fixed page name saving<commit_after><?= $this->partial('breadcrumb', [ 'crumbs' => [
	[ 'name'=> 'Pages', 'url' => '/pages' ],
	[ 'name'=> 'Update Page', 'active' => 'true' ],
]]); ?>

<div class="card">
	<div class="card-header">
		Page information
	</div>
	<div class="card-block">
		<form method="POST" accept-charset="UTF-8" data-form-ajax="">
			<input name="id" type="hidden" value="<?= $this->page['id'] ?>">
			<input name="author_user_id" type="hidden" value="<?= $_SESSION['user']['id'] ?>">

			<div class="form-group">
				<label>Page Name</label>
				<input placeholder="Name" class="form-control required" name="name" type="text" value="<?= $this->page['name'] ?>">
			</div>

			<div class="form-group">
				<label>Permalink</label>
				<input placeholder="/my-permalink" class="form-control required" name="permalink" type="text" value="<?= $this->page['permalink'] ?>">
			</div>

			<button type="submit" class="btn btn-primary">Save</button>
			<a class="btn btn-secondary" href="/pages">Cancel</a>
		</form>
	</div>
</div>
{'fraction_non_alphanumeric': 0.2543103448275862, 'fraction_numerical': 0.0009578544061302681, 'mean_word_length': 5.020172910662824, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 79, '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': '5544281', 'n_tokens_mistral': 791, 'n_tokens_neox': 730, 'n_words': 145}