<commit_before><!DOCTYPE html>
<html>
<head>
	<title>Barber Shop</title>

</head>
<body>
<h2>Записаться на стрижку</h2>

<script type="text/javascript">
	$(function(){
		$('#color').simplecolorpicker();
	});
</script>

<form action='/visit' method="POST" role="form">
	
	<div class="form-group">
		<label>Ваше имя</label>
		<input name="username" type="text" class="form-control" placeholder="Имя" value="<%= @username %>">
	</div>

	<div class="form-group">
		<label>Ваш телефон</label>
		<input name="phone" type="text" class="form-control" placeholder="телефон" value="<%= @phone %>">
	</div>

	<div class="form-group">
		<label>На когда?</label>
		<input name="datetime" type="text" class="form-control" placeholder="Время, дата" value="<%= @datetime %>">
	</div>

	<div class="form-group">
		<label>Выберите парикмахера</label>
		<select name="barber" class="form-control">

			<% @barbers.each do |item| %>
				<option <%= @barbers == item['name'] ? 'selected' : '' %>><%= item['name'] %></option>
			<% end %>

		</select>
	</div> <br />

	<div class="form-group">
		<label>Какой цвет вам к лицу:</label>
		<select id="color" name="color">
			<option value="#7bd148"<%= @color == '#7bd148' ? 'selected' : '' %>>Green</option>
			<option value="#5484ed"<%= @color == '#5484ed' ? 'selected' : '' %>>Bold blue</option>
			<option value="#a4bdfc"<%= @color == '#a4bdfc' ? 'selected' : '' %>>Blue</option>
			<option value="#46d6db"<%= @color == '#46d6db' ? 'selected' : '' %>>Turquoise</option>
			<option value="#7ae7bf"<%= @color == '#7ae7bf' ? 'selected' : '' %>>Light green</option>
			<option value="#51b749"<%= @color == '#51b749' ? 'selected' : '' %>>Bold green</option>
			<option value="#fbd75b"<%= @color == '#fbd75b' ? 'selected' : '' %>>Yellow</option>
			<option value="#ffb878"<%= @color == '#ffb878' ? 'selected' : '' %>>Orange</option>
			<option value="#ff887c"<%= @color == '#ff887c' ? 'selected' : '' %>>Red</option>
			<option value="#dc2127"<%= @color == '#dc2127' ? 'selected' : '' %>>Bold red</option>
			<option value="#dbadff"<%= @color == '#dbadff' ? 'selected' : '' %>>Purple</option>
			<option value="#e1e1e1"<%= @color == '#e1e1e1' ? 'selected' : '' %>>Gray</option>
		</select>

	</div>

	<button type="submit" class="btn btn-primary">Записаться</button>

</form>

<commit_msg>Deleted <div> Barber in  /visit...<commit_after><!DOCTYPE html>
<html>
<head>
	<title>Barber Shop</title>

</head>
<body>
<h2>Записаться на стрижку</h2>

<script type="text/javascript">
	$(function(){
		$('#color').simplecolorpicker();
	});
</script>

<form action='/visit' method="POST" role="form">
	
	<div class="form-group">
		<label>Ваше имя</label>
		<input name="username" type="text" class="form-control" placeholder="Имя" value="<%= @username %>">
	</div>

	<div class="form-group">
		<label>Ваш телефон</label>
		<input name="phone" type="text" class="form-control" placeholder="телефон" value="<%= @phone %>">
	</div>

	<div class="form-group">
		<label>На когда?</label>
		<input name="datetime" type="text" class="form-control" placeholder="Время, дата" value="<%= @datetime %>">
	</div>

	<div class="form-group">
		<label>Какой цвет вам к лицу:</label>
		<select id="color" name="color">
			<option value="#7bd148"<%= @color == '#7bd148' ? 'selected' : '' %>>Green</option>
			<option value="#5484ed"<%= @color == '#5484ed' ? 'selected' : '' %>>Bold blue</option>
			<option value="#a4bdfc"<%= @color == '#a4bdfc' ? 'selected' : '' %>>Blue</option>
			<option value="#46d6db"<%= @color == '#46d6db' ? 'selected' : '' %>>Turquoise</option>
			<option value="#7ae7bf"<%= @color == '#7ae7bf' ? 'selected' : '' %>>Light green</option>
			<option value="#51b749"<%= @color == '#51b749' ? 'selected' : '' %>>Bold green</option>
			<option value="#fbd75b"<%= @color == '#fbd75b' ? 'selected' : '' %>>Yellow</option>
			<option value="#ffb878"<%= @color == '#ffb878' ? 'selected' : '' %>>Orange</option>
			<option value="#ff887c"<%= @color == '#ff887c' ? 'selected' : '' %>>Red</option>
			<option value="#dc2127"<%= @color == '#dc2127' ? 'selected' : '' %>>Bold red</option>
			<option value="#dbadff"<%= @color == '#dbadff' ? 'selected' : '' %>>Purple</option>
			<option value="#e1e1e1"<%= @color == '#e1e1e1' ? 'selected' : '' %>>Gray</option>
		</select>

	</div>

	<button type="submit" class="btn btn-primary">Записаться</button>

</form>


{'fraction_non_alphanumeric': 0.26225377920293175, 'fraction_numerical': 0.0320659642693541, 'mean_word_length': 5.150704225352112, 'pattern_counts': {'":': 0, '<': 167, '<?xml version=': 0, '>': 167, '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': '3692004', 'n_tokens_mistral': 1875, 'n_tokens_neox': 1694, 'n_words': 324}