<commit_before><h1 class="page-header">Create Clone</h1>

<form method="POST" action="/create_clone/<%= snapshot.id %>">
	<div class="form-group">
		<label for="container" class="control-label">Container</label>
		<input type="text" class="form-control" id="container" name="container" value="<%= snapshot.container.name %>" disabled>

		<label for="snapshot" class="control-label">Snapshot</label>
		<input type="text" class="form-control" id="snapshot" name="snapshot" value="<%= snapshot.name %>" disabled>

		<label for="name" class="control-label">Name</label>
		<input type="text" class="form-control" id="name" name="name" value=" <%= name rescue '' %>">

		<label for="hostname" class="control-label">Hostname</label>
		<input type="text" class="form-control" id="hostname" name="hostname" value="<%= hostname rescue snapshot.container.hostname %>">

		<label for="description" class="control-label">Description</label>
		<input type="text" class="form-control" id="description" name="description" value="<%= description rescue snapshot.container.description %>">
	</div>

	<a type="button" class="btn btn-default" href="javascript:history.back();">Cancel</a>
	<button type="submit" class="btn btn-primary" data-toggle="modal" data-target="#waitReloadModal">Submit</button>
</form>
<commit_msg>update create_clone.erb to fix default value of name<commit_after><h1 class="page-header">Create Clone</h1>

<form method="POST" action="/create_clone/<%= snapshot.id %>">
	<div class="form-group">
		<label for="container" class="control-label">Container</label>
		<input type="text" class="form-control" id="container" name="container" value="<%= snapshot.container.name %>" disabled>

		<label for="snapshot" class="control-label">Snapshot</label>
		<input type="text" class="form-control" id="snapshot" name="snapshot" value="<%= snapshot.name %>" disabled>

		<label for="name" class="control-label">Name</label>
		<input type="text" class="form-control" id="name" name="name" value="<%= name rescue '' %>">

		<label for="hostname" class="control-label">Hostname</label>
		<input type="text" class="form-control" id="hostname" name="hostname" value="<%= hostname rescue snapshot.container.hostname %>">

		<label for="description" class="control-label">Description</label>
		<input type="text" class="form-control" id="description" name="description" value="<%= description rescue snapshot.container.description %>">
	</div>

	<a type="button" class="btn btn-default" href="javascript:history.back();">Cancel</a>
	<button type="submit" class="btn btn-primary" data-toggle="modal" data-target="#waitReloadModal">Submit</button>
</form>

{'fraction_non_alphanumeric': 0.20098410295230887, 'fraction_numerical': 0.001514004542013626, 'mean_word_length': 7.363924050632911, 'pattern_counts': {'":': 0, '<': 65, '<?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': '7477278', 'n_tokens_mistral': 837, 'n_tokens_neox': 799, 'n_words': 165}