<commit_before><?php  

$cssAnsScriptFiles = array(
	//X-editable
	'/assets/plugins/x-editable/css/bootstrap-editable.css',
	'/assets/plugins/x-editable/js/bootstrap-editable.js',
	//wysihtml
	'/assets/plugins/wysihtml5/bootstrap-wysihtml5-0.0.2/bootstrap-wysihtml5-0.0.2.css',
	'/assets/plugins/wysihtml5/bootstrap-wysihtml5-0.0.2/wysiwyg-color.css',
	'/assets/plugins/wysihtml5/bootstrap-wysihtml5-0.0.2/wysihtml5-0.3.0.min.js',
	'/assets/plugins/wysihtml5/bootstrap-wysihtml5-0.0.2/bootstrap-wysihtml5.js',
	'/assets/plugins/wysihtml5/wysihtml5.js',
	//date picker
	'/assets/plugins/bootstrap-datepicker/css/datepicker.css',
	'/assets/plugins/bootstrap-datepicker/js/bootstrap-datepicker.js'
);

HtmlHelper::registerCssAndScriptsFiles($cssAnsScriptFiles);
?>
<style type="text/css">
	.select2-input {
		width:100%;
	}
</style>

<div class="row">
	<div class="col-sm-12">
		<div id="#panel_public" class="panel panel-white">
			<div class="panel-heading">
				<h4 class="panel-title">Offer a <span class="text-bold">Job</span></h4>
				<?php if (Authorisation::isJobAdmin($job["_id"], Yii::app()->session["userId"])) {?>
				<button id="edit-btn" class="btn pull-right btn-primary">Edit</button>
				<?php } ?>
			</div>
			<div class="panel-body" style="display: block;">				
				<form class="form-horizontal" role="form">
					<div id="msg" class="alert alert-error" style="display: block;"></div>
					<div class="row">
						<div class="col-sm-12">
							<div class="panel panel-white">
								<div class="panel-body">
									<div class="col-md-6"> 
										<div class="form-group">
											<label for="form-field-1" class="col-sm-3 control-label">Job Title</label>
											<div class="col-sm-9">
												<a href="#" id="title" data-type="text" data-original-title="Enter Job Title" class="editable-job editable editable-click"><commit_msg>Fix bug inserting a new job<commit_after><?php  

$cssAnsScriptFiles = array(
	//X-editable
	'/assets/plugins/x-editable/css/bootstrap-editable.css',
	'/assets/plugins/x-editable/js/bootstrap-editable.js',
	//wysihtml
	'/assets/plugins/wysihtml5/bootstrap-wysihtml5-0.0.2/bootstrap-wysihtml5-0.0.2.css',
	'/assets/plugins/wysihtml5/bootstrap-wysihtml5-0.0.2/wysiwyg-color.css',
	'/assets/plugins/wysihtml5/bootstrap-wysihtml5-0.0.2/wysihtml5-0.3.0.min.js',
	'/assets/plugins/wysihtml5/bootstrap-wysihtml5-0.0.2/bootstrap-wysihtml5.js',
	'/assets/plugins/wysihtml5/wysihtml5.js',
	//date picker
	'/assets/plugins/bootstrap-datepicker/css/datepicker.css',
	'/assets/plugins/bootstrap-datepicker/js/bootstrap-datepicker.js'
);

HtmlHelper::registerCssAndScriptsFiles($cssAnsScriptFiles);
?>
<style type="text/css">
	.select2-input {
		width:100%;
	}
</style>

<div class="row">
	<div class="col-sm-12">
		<div id="#panel_public" class="panel panel-white">
			<div class="panel-heading">
				<h4 class="panel-title">Offer a <span class="text-bold">Job</span></h4>
				<?php if ($mode != "insert" && Authorisation::isJobAdmin($job["_id"], Yii::app()->session["userId"])) {?>
				<button id="edit-btn" class="btn pull-right btn-primary">Edit</button>
				<?php } ?>
			</div>
			<div class="panel-body" style="display: block;">				
				<form class="form-horizontal" role="form">
					<div id="msg" class="alert alert-error" style="display: block;"></div>
					<div class="row">
						<div class="col-sm-12">
							<div class="panel panel-white">
								<div class="panel-body">
									<div class="col-md-6"> 
										<div class="form-group">
											<label for="form-field-1" class="col-sm-3 control-label">Job Title</label>
											<div class="col-sm-9">
												<a href="#" id="title" data-type="text" data-original-title="Enter Job Title" class="editable-job editable editable-click">
{'fraction_non_alphanumeric': 0.19765895184889598, 'fraction_numerical': 0.023942537909018357, 'mean_word_length': 3.9473684210526314, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 65, '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': '6845493', 'n_tokens_mistral': 1632, 'n_tokens_neox': 1404, 'n_words': 188}