30 lines
874 B
Plaintext
30 lines
874 B
Plaintext
|
@{
|
||
|
ViewData["Title"] = "CommentCreate";
|
||
|
}
|
||
|
<div class="text-center">
|
||
|
<h2 class="display-4 mb-5">Создать комментарий</h2>
|
||
|
</div>
|
||
|
<form method="post">
|
||
|
<div class="row mb-5">
|
||
|
<div class="col-4">Заголовок:</div>
|
||
|
<div class="col-8"><input type="number" id="title" name="title" /></div>
|
||
|
</div>
|
||
|
<div class="row mb-5">
|
||
|
<div class="col-4">Текст:</div>
|
||
|
<div class="col-8"><input type="text" id="text" name="text" /></div>
|
||
|
</div>
|
||
|
<div class="row mb-5">
|
||
|
<div class="col-4">Сборка:</div>
|
||
|
<div class="col-8">
|
||
|
<select id="build" name="build" class="form-control" asp-items="@(new SelectList(@ViewBag.Builds,"Id", "Name"))"></select>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="row mb-5">
|
||
|
<div class="col-8">
|
||
|
</div>
|
||
|
<div class="col-4">
|
||
|
<input type="submit" value="Создать" class="btn btn-success" />
|
||
|
</div>
|
||
|
</div>
|
||
|
</form>
|