33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
@{
|
|
ViewData["Title"] = "CreateProduction";
|
|
}
|
|
<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="title" id="title" /></div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label>Details</label>
|
|
@foreach (var detail in ViewBag.Details)
|
|
{
|
|
<div class="form-group">
|
|
<label>
|
|
<input type="checkbox" name="details" value="@detail.Id" />
|
|
@detail.Name
|
|
</label>
|
|
<input type="number" name="count" value="0" min="0" class="form-control" />
|
|
</div>
|
|
}
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-4">Сумма:</div>
|
|
<div class="col-8"><input type="text" id="sum" name="sum" readonly /></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> |