From 3bade8859bcd938b85c39ab16eaa0dcf8e01535f Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Sat, 3 Jun 2023 07:41:46 +0300 Subject: Mass refactoring --- Views/Figure/Details.cshtml | 45 +++++++++++++++++++++++++++------------------ 1 file changed, 27 insertions(+), 18 deletions(-) (limited to 'Views/Figure/Details.cshtml') diff --git a/Views/Figure/Details.cshtml b/Views/Figure/Details.cshtml index ace2a9a..3bb43ea 100644 --- a/Views/Figure/Details.cshtml +++ b/Views/Figure/Details.cshtml @@ -5,30 +5,39 @@ - Figure + Редактирование фотографии -
-
-
- - @Model.Description - + +
+
+
+
+ @{ + var filePath = $"/Content/{Model.ProductId}/{Model.Id}.jpg"; + } + + @Model.Description + +
+
+
+
+ + @Html.TextAreaFor(model => model.Description, new { @class="form-control", @rows = 2 }) +
+ + +
-
-
-
- - @Html.TextAreaFor(model => model.Description, new { @class="form-control", @rows = 2 }) -
- - -
- - + \ No newline at end of file -- cgit v1.2.3