<commit_before><div class="container-fluid padded">
		<div class="row-fluid">
			<div class="span12">
				<div class="box">
					<form class="form-horizontal fill-up validatable" method="post">
						<input type="hidden" name="id" value="<?php $tpl->id; ?>">
						<div class="box-header">
							<span class="title">Page</span>
							<ul class="box-toolbar">
								<li>
									<span>Enabled: </span>
								</li>
								<li>
									<input type="checkbox" class="iButton-icons" <?php print (bool)$tpl->get('status')?'checked':''; ?> name="status" value="1" />
								</li>
							</ul>
						</div>
						<div class="box-content">
							<div class="padded">
								<div class="control-group">
									<label class="control-label">Type</label>
									<div class="controls">
										<select class="chzn-select" name="page_type_id">
											<?php $tpl->getPageTypeOptions($tpl->get('page_type_id')); ?>
										</select>
									</div>
								</div>
								<div class="control-group">
									<label class="control-label">URL</label>
									<div class="controls">
										<input type="text" name="url" class="validate[required]" data-prompt-position="topLeft" value="<?php $tpl->url; ?>">
									</div>
								</div>
								<div class="control-group">
									<label class="control-label">Title</label>
									<div class="controls">
										<input type="text" name="title" class="validate[required]" data-prompt-position="topLeft" value="<?php $tpl->title; ?>">
									</div>
								</div>
								<div class="control-group">
									<label class="control-label">Description</label>
									<div class="controls">
										<textarea name="description" rows="6"><?php $tpl->description; ?></textarea>
									</div>
								</div>
							</div>
							<div class="form-actions">
								<div class="pull-right">
									<button type="submit" class="btn btn-blue">Save Changes</button>
									<button type="button" class="btn btn-red">Cancel</button>
								</div>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div><commit_msg>Changed page UI to use the multiple url interface.<commit_after><div class="container-fluid padded">
	<div class="row-fluid">
		<div class="span12">
			<div class="box">
				<form class="form-horizontal fill-up validatable" method="post">
					<input type="hidden" name="id" value="<?php $tpl->id; ?>">
					<div class="box-header">
						<span class="title">Page</span>
						<ul class="box-toolbar">
							<li>
								<span>Enabled: </span>
							</li>
							<li>
								<input type="checkbox" class="iButton-icons" <?php print (bool)$tpl->get('status')?'checked':''; ?> name="status" value="1" />
							</li>
						</ul>
					</div>
					<div class="box-content">
						<div class="padded">
							<div class="control-group">
								<label class="control-label">Type</label>
								<div class="controls">
									<select class="chzn-select" name="page_type_id">
										<?php $tpl->getPageTypeOptions($tpl->get('page_type_id')); ?>
									</select>
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">Title</label>
								<div class="controls">
									<input type="text" name="title" class="validate[required]" data-prompt-position="topLeft" value="<?php $tpl->title; ?>">
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">Description</label>
								<div class="controls">
									<textarea name="description" rows="6"><?php $tpl->description; ?></textarea>
								</div>
							</div>
							<div class="container-fluid padded">
								<div class="box">
									<div class="box-header">
										<span class="title"><i class="icon-globe"></i> URL Paths</span>
									</div>
									<div class="content-box">
										<div class="padded">
											<div class="well relative">
												<table class="table table-hover">
													<thead>
														<th class="span4">Path</th>
														<th>Remove</th>
													</thead>
													<tbody>
														<?php
														$urls=$tpl->get('pageUrls');
														for ($i=0,$j=count($urls); $i<$j; $i++):
														?>
														<tr>
															<td>
																<input type="text" class="input-medium" value="<?php print $urls[$i]['url']; ?>" data-prompt-position="topLeft" class="validate[required]" name="url[]">
															</td>
															<td>
																<button data-action="removeURLfromContent" class="btn btn-danger btn-mini" type="button">&times;</button>
															</td>
														</tr>
														<?php endfor; ?>
													</tbody>
												</table>
												<button type="button" class="btn btn-green" data-action="addURLToContent"><i class="icon-plus"></i> Add URL Path</button>
											</div>
										</div>
									</div>
								</div>
							</div>
						</div>
						<div class="form-actions">
							<div class="pull-right">
								<button type="submit" class="btn btn-blue">Save Changes</button>
								<button type="button" class="btn btn-red">Cancel</button>
							</div>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
</div>
{'fraction_non_alphanumeric': 0.19460906136493977, 'fraction_numerical': 0.0019116803670426305, 'mean_word_length': 2.1613293051359515, 'pattern_counts': {'":': 0, '<': 183, '<?xml version=': 0, '>': 196, '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': '4543032', 'n_tokens_mistral': 2616, 'n_tokens_neox': 1616, 'n_words': 315}