18 lines
516 B
Plaintext
18 lines
516 B
Plaintext
@{
|
|
ViewData["Title"] = "CommentDelete";
|
|
}
|
|
<div class="text-center">
|
|
<h2 class="display-4">Удалить комментарий</h2>
|
|
</div>
|
|
<form method="post">
|
|
<div class="row">
|
|
<div class="col-4">Комментарий:</div>
|
|
<div class="col-8">
|
|
<select id="comment" name="comment" class="form-control" asp-items="@(new SelectList(@ViewBag.Comments,"Id", "Text"))"></select>
|
|
</div>
|
|
</div>
|
|
<div class="col-4">
|
|
<input type="submit" value="Удалить" class="btn btn-danger" />
|
|
</div>
|
|
</form>
|