56 lines
2.3 KiB
Plaintext
56 lines
2.3 KiB
Plaintext
@page
|
|
@model EveryThing.Pages.Projects.CreatePartModel
|
|
|
|
@{
|
|
ViewData["Title"] = "Nov del projekta";
|
|
Layout = "~/Pages/Layouts/_Layout.cshtml";
|
|
}
|
|
|
|
<form method="post">
|
|
|
|
<h4 class="d-flex justify-content-between align-items-center w-100 font-weight-bold py-1 mb-4">
|
|
<span>
|
|
<span class="text-muted font-weight-light">Projekt /</span> Nov del
|
|
</span>
|
|
</h4>
|
|
|
|
<div class="row">
|
|
<div class="col-6">
|
|
<div class="card">
|
|
<h6 class="card-header">
|
|
Podatki dela projekta
|
|
</h6>
|
|
<div class="card-body">
|
|
<input type="hidden" asp-for="ProjectPart.IdProjectFk" />
|
|
<div class="form-group">
|
|
<label asp-for="ProjectPart.Title" class="form-label"></label>
|
|
<input autocomplete="off" asp-for="ProjectPart.Title" class="form-control"/>
|
|
<span asp-validation-for="ProjectPart.Title" class="text-danger"></span>
|
|
</div>
|
|
<div class="form-group">
|
|
<label asp-for="ProjectPart.Description" class="form-label"></label>
|
|
<input autocomplete="off" asp-for="ProjectPart.Description" class="form-control"/>
|
|
<span asp-validation-for="ProjectPart.Description" class="text-danger"></span>
|
|
</div>
|
|
<div class="form-group">
|
|
<label asp-for="ProjectPart.PathOfPlans" class="form-label"></label>
|
|
<input autocomplete="off" asp-for="ProjectPart.PathOfPlans" class="form-control"/>
|
|
<span asp-validation-for="ProjectPart.PathOfPlans" class="text-danger"></span>
|
|
</div>
|
|
</div>
|
|
<div class="card-footer py-3 text-right">
|
|
<button type="submit" class="btn btn-primary">Dodaj del projekta</button>
|
|
<a asp-page="Edit" asp-route-id="@ViewBag.IdProject" class="btn btn-default">Prekliči</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
|
|
|
</form>
|
|
|
|
@section Scripts {
|
|
@{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
|
|
}
|