summaryrefslogtreecommitdiff
path: root/Views/Bundle
diff options
context:
space:
mode:
authorSergey Chebotar <s.chebotar@gmail.com>2023-03-02 07:28:22 +0300
committerSergey Chebotar <s.chebotar@gmail.com>2023-03-02 07:28:22 +0300
commit607d029030baa11f890af7b948b129c0ec975905 (patch)
tree6872dff56d4f62df30c8fb0430ad660953f03f1b /Views/Bundle
parent6cb87f6c78d774d7179edceb2c8305ca42a257c1 (diff)
Base figure adding
Diffstat (limited to 'Views/Bundle')
-rw-r--r--Views/Bundle/Details.cshtml7
1 files changed, 5 insertions, 2 deletions
diff --git a/Views/Bundle/Details.cshtml b/Views/Bundle/Details.cshtml
index b7df95b..ac13624 100644
--- a/Views/Bundle/Details.cshtml
+++ b/Views/Bundle/Details.cshtml
@@ -11,7 +11,7 @@
<body>
<container>
- <form asp-action="Edit" asp-route-id="@Model.Id" method="post" class="m-2">
+ <form asp-action="Edit" asp-route-id="@Model.Id" method="post" enctype="multipart/form-data" class="m-2">
<div asp-validation-summary="All"></div>
<div class="form-group">
<label asp-for="Name" class="form-label">Name:</label>
@@ -33,10 +33,13 @@
</a>
</div>
</div>
- }
+ }
</div>
</div>
<div class="form-group">
+ <input type="file" name="file" />
+ </div>
+ <div class="form-group">
<label asp-for="Price" class="form-label">Price:</label>
<input asp-for="Price" class="form-control" />
</div>