<commit_before><div class="row">

	<div class="span8">
		<div id="uploader"></div>
		<div id="uploadResult"></div>
	</div>

	<div class="span4">
		<div class="well">
			<h3>Data import</h3>
			<p>Select and upload files that you exported.</p>
		</div>
	</div>


</div>
<?=$this->html->style('/radium/css/import'); ?>
<script type="text/javascript" charset="utf-8">
head.js(
	{ fineuploader: "<?php echo $this->path('/li3_bootstrap/js/fineuploader.min.js'); ?>"},
	{ uploader: "<?php echo $this->path('/radium/js/import.js'); ?>"}
);
head.ready(function() {
	uploader.api = "<?php echo $this->url($this->scaffold->action('import')); ?>";
	uploader.template = '<?php echo implode(explode("\n", $this->_render('element', 'import'))); ?>';
	uploader.button = '<div><i class="icon-upload-alt icon-white"></i> import files</div>';
	uploader.init();
});
</script><commit_msg>fix file-upload on scaffold import<commit_after><div id="uploader"></div>
<div id="uploadResult"></div>

<script type="text/javascript" charset="utf-8">
uploader.api = "<?php echo $this->url($this->scaffold->action('import')); ?>";
uploader.template = '<?php echo implode(explode("\n", $this->_render('element', 'import'))); ?>';
uploader.button = '<div><i class="fa fa-2x fa-cloud-upload fa-fw"></i> import files</div>';
uploader.init();
</script>
{'fraction_non_alphanumeric': 0.2560790273556231, 'fraction_numerical': 0.0060790273556231, 'mean_word_length': 5.618090452261306, 'pattern_counts': {'":': 0, '<': 42, '<?xml version=': 0, '>': 54, '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': '1200348', 'n_tokens_mistral': 482, 'n_tokens_neox': 464, 'n_words': 87}