@{
	ViewData["Title"] = "Create";
}

<div class="text-center">
	<h2 class="display-4">Создание визита</h2>
</div>
<form method="post">
	
	<div class="row">
		<div class="col-4">Название:</div>
		<div class="col-8">
			<input type="text" name="name" />
		</div>
	</div>
	<div class="row">
		<div class="col-4">Дата:</div>
		<div class="col-8">
			<input type="datetime-local" id="date" name="date" />
		</div>
	</div>
	<div class="row">
		<div class="col-4">Услуги:</div>
		<div class="col-8">
			<select name="services" class="form-control" multiple size="6" id="services">
				@foreach (var service in ViewBag.Services)
				{
					<option value="@service.Id">@service.ServiceName</option>
				}
			</select>
		</div>
	</div>
	<div class="row">
		<div class="col-8"></div>
		<div class="col-4">
			<input type="submit" value="Создать" class="btn btn-primary" />
		</div>
	</div>
</form>

