diff options
author | Sergey Chebotar <s.chebotar@gmail.com> | 2023-03-02 07:28:22 +0300 |
---|---|---|
committer | Sergey Chebotar <s.chebotar@gmail.com> | 2023-03-02 07:28:22 +0300 |
commit | 607d029030baa11f890af7b948b129c0ec975905 (patch) | |
tree | 6872dff56d4f62df30c8fb0430ad660953f03f1b /Views/Figure/Details.cshtml | |
parent | 6cb87f6c78d774d7179edceb2c8305ca42a257c1 (diff) |
Base figure adding
Diffstat (limited to 'Views/Figure/Details.cshtml')
-rw-r--r-- | Views/Figure/Details.cshtml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Views/Figure/Details.cshtml b/Views/Figure/Details.cshtml index 2148ed3..ace2a9a 100644 --- a/Views/Figure/Details.cshtml +++ b/Views/Figure/Details.cshtml @@ -26,6 +26,7 @@ @Html.TextAreaFor(model => model.Description, new { @class="form-control", @rows = 2 }) </div> <button type="submit" class="btn btn-primary mt-3">Save</button> + <button asp-action="Delete" asp-route-id="@Model.Id" method="post" class="btn btn-primary mt-3">Delete</button> </form> </body> |