@{
	ViewData["Title"] = "Создание комплектующего";
	Layout = "~/Views/Shared/_LayoutStorekeeper.cshtml";
}

<div class="text-center">
	<h2 class="display-4">Создание комплектующего</h2>
</div>

<form method="post" class="d-flex flex-column align-items-center">
	<div class="col-sm-3">
		<label class="form-label">Название</label>
		<input type="text" class="form-control" name="name" required>
	</div>
	<div class="col-sm-3">
		<label class="form-label">Стоимость</label>
		<input type="number" step="0.01" class="form-control" name="cost" min="0.01" required>
	</div>
	<div class="col-sm-3">
		<label class="form-label">Дата приобретения</label>
		<input type="datetime-local" class="form-control" name="date" required>
	</div>
	<div class="col-sm-2 d-flex justify-content-evenly align-items-baseline">
		<button type="submit" class="btn btn-primary mt-3 px-4">Сохранить</button>
	</div>
</form>
