<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">Content Type</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">Name</label>
									<div class="controls">
										<input type="text" name="name" class="validate[required]" data-prompt-position="topLeft" value="<?php $tpl->name; ?>">
									</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="control-group">
									<label class="control-label">Icon</label>
									<div class="controls">
										<input type="text" name="icon" value="<?php $tpl->icon; ?>">
									</div>
								</div>
								<div class="control-group">
									<label class="control-label">Reference</label>
									<div class="controls">
										<input type="text" name="ref" value="<?php $tpl->ref; ?>">
									</div>
								</div>
								<div class="control-group">
									<label class="control-label">Workflow</label>
									<div class="controls">
										<select name="workflow_id">
											<?php $tpl->getWorkflowOptions($tpl->get('workflow_id')); ?>
										</select>
									</div>
								</div>
								<div class="control-group">
									<label class="control-label">Page</label>
									<div class="controls">
										<select name="page_name">
											<option value="Home">Home</option>
											<option value="About">About</option>
											<option value="Knowledge Bank">Knowledge Bank</option>
											<option value="Academic Calendar">Academic Calendar</option>
											<option value="SME challenge">SME Challenge</option>
											<option value="Contact">Contact</option>
											<option value="Search">Search</option>
											<option value="Blog">Blog</option>											
										</select>
									</div>
								</div>								
							</div>
							<div class="container-fluid padded">
								<div class="box">
									<div class="box-header">
										<span class="title"><i class="icon-beaker"></i> Widgets</span>
									</div>
									<div class="content-box">
										<div class="padded">
											<?php $tpl->parts; ?>
											<button type="button" class="btn btn-green" data-action="addWidgetSelectionRow"><i class="icon-plus"></i> Add Widget</button>
										</div><commit_msg>added form values for the page selector<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">Content Type</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">Name</label>
									<div class="controls">
										<input type="text" name="name" class="validate[required]" data-prompt-position="topLeft" value="<?php $tpl->name; ?>">
									</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="control-group">
									<label class="control-label">Icon</label>
									<div class="controls">
										<input type="text" name="icon" value="<?php $tpl->icon; ?>">
									</div>
								</div>
								<div class="control-group">
									<label class="control-label">Reference</label>
									<div class="controls">
										<input type="text" name="ref" value="<?php $tpl->ref; ?>">
									</div>
								</div>
								<div class="control-group">
									<label class="control-label">Workflow</label>
									<div class="controls">
										<select name="workflow_id">
											<?php $tpl->getWorkflowOptions($tpl->get('workflow_id')); ?>
										</select>
									</div>
								</div>
								<div class="control-group">
									<label class="control-label">Page</label>
									<div class="controls">
										<select name="page_name">
											<option <?php echo ($tpl->get("page_name")=='Home' ? "selected='selected'":""); ?> value="Home">Home</option>
											<option <?php echo ($tpl->get("page_name")=='About' ? "selected='selected'":""); ?> value="About">About</option>
											<option <?php echo ($tpl->get("page_name")=='Knowledge Bank' ? "selected='selected'":""); ?> value="Knowledge Bank">Knowledge Bank</option>
											<option <?php echo ($tpl->get("page_name")=='Academic Calendar' ? "selected='selected'":""); ?> value="Academic Calendar">Academic Calendar</option>
											<option <?php echo ($tpl->get("page_name")=='SME challenge' ? "selected='selected'":""); ?> value="SME challenge">SME Challenge</option>
											<option <?php echo ($tpl->get("page_name")=='Contact' ? "selected='selected'":""); ?> value="Contact">Contact</option>
											<option <?php echo ($tpl->get("page_name")=='Search' ? "selected='selected'":""); ?> value="Search">Search</option>
											<option <?php echo ($tpl->get("page_name")=='Blog' ? "selected='selected'":""); ?> value="Blog">Blog</option>											
										</select>
									</div>
								</div>								
							</div>
							<div class="container-fluid padded">
								<div class="box">
									<div class="box-header">
										<span class="title"><i class="icon-beaker"></i> Widgets</span>
									</div>
									<div class="content-box">
										<div class="padded">
											<?php $tpl->parts; ?>
											<button type="button" class="btn btn-green" data-action="addWidgetSelectionRow"><i class="icon-plus"></i> Add Widget</button>
										</div>
{'fraction_non_alphanumeric': 0.19905910026462806, 'fraction_numerical': 0.0011761246692149367, 'mean_word_length': 2.5139462809917354, 'pattern_counts': {'":': 8, '<': 223, '<?xml version=': 0, '>': 249, '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': '2483808', 'n_tokens_mistral': 3182, 'n_tokens_neox': 2011, 'n_words': 388}