33 lines
945 B
Plaintext
33 lines
945 B
Plaintext
|
@{
|
||
|
ViewData["Title"] = "CreateTask";
|
||
|
}
|
||
|
<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"><input type="text" name="title" id="title" /></div>
|
||
|
</div>
|
||
|
<div class="row">
|
||
|
<div class="col-4">Дата выдачи:</div>
|
||
|
<div class="col-8">@Html.TextBox("dateIssue" ,"" ,new {type="Date"})</div>
|
||
|
</div>
|
||
|
<div class="row">
|
||
|
<div class="col-4">Срок сдачи:</div>
|
||
|
<div class="col-8">@Html.TextBox("dateDelivery" ,"" ,new {type="Date"})</div>
|
||
|
</div>
|
||
|
<div class="row">
|
||
|
<div class="col-4">Материалы:</div>
|
||
|
<div class="col-8">
|
||
|
@Html.ListBox("materials", (MultiSelectList)ViewBag.Materials)
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="row">
|
||
|
<div class="col-8"></div>
|
||
|
<div class="col-4"><input type="submit" value="Создать" class="btn btn-primary" /></div>
|
||
|
</div>
|
||
|
|
||
|
</form>
|