44 lines
1.4 KiB
Plaintext
44 lines
1.4 KiB
Plaintext
@model ThAmCo.Stock.Data.ProductStock
|
|
|
|
@{
|
|
ViewData["Title"] = "Create";
|
|
}
|
|
|
|
<h1>Create</h1>
|
|
|
|
<h4>ProductStock</h4>
|
|
<hr />
|
|
<div class="row">
|
|
<div class="col-md-4">
|
|
<form asp-action="Create">
|
|
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
|
<div class="form-group">
|
|
<label asp-for="ProductId" class="control-label"></label>
|
|
<input asp-for="ProductId" class="form-control" />
|
|
<span asp-validation-for="ProductId" class="text-danger"></span>
|
|
</div>
|
|
<div class="form-group">
|
|
<label asp-for="Stock" class="control-label"></label>
|
|
<input asp-for="Stock" class="form-control" />
|
|
<span asp-validation-for="Stock" class="text-danger"></span>
|
|
</div>
|
|
<div class="form-group">
|
|
<label asp-for="PriceId" class="control-label"></label>
|
|
<input asp-for="PriceId" class="form-control" />
|
|
<span asp-validation-for="PriceId" class="text-danger"></span>
|
|
</div>
|
|
<div class="form-group">
|
|
<input type="submit" value="Create" class="btn btn-primary" />
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
<div>
|
|
<a asp-action="Index">Back to List</a>
|
|
</div>
|
|
|
|
@section Scripts {
|
|
@{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
|
|
}
|