-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTechStoreModelado.html
More file actions
31 lines (24 loc) · 984 Bytes
/
TechStoreModelado.html
File metadata and controls
31 lines (24 loc) · 984 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
@model TechStore.Models.Product
<h2>Agregar Producto</h2>
<form asp-action="Add">
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
<div class="form-group">
<label asp-for="Name"></label>
<input asp-for="Name" class="form-control" />
<span asp-validation-for="Name" class="text-danger"></span>
</div>
<div class="form-group">
<label asp-for="Description"></label>
<textarea asp-for="Description" class="form-control"></textarea>
</div>
<div class="form-group">
<label asp-for="Price"></label>
<input asp-for="Price" class="form-control" />
<span asp-validation-for="Price" class="text-danger"></span>
</div>
<div class="form-group">
<label>IGV:</label>
<input type="text" class="form-control" value="@Model.IGV" readonly />
</div>
<button type="submit" class="btn btn-primary">Agregar Producto</button>
</form>