X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=Projects%2FViews%2FProjectTasks%2FEdit.cshtml;h=4a934bf609f6d55f4f39dc1af60be72054e26c4a;hb=5b4b7fb2dc8e07cdfe9a30c321191444d05fe24a;hp=8aad30484690682e67b9c66f7b3046d71c7c5d24;hpb=5e0fe0cb10f848f46dd875350ca51198e28e0c74;p=wsti_pai.git diff --git a/Projects/Views/ProjectTasks/Edit.cshtml b/Projects/Views/ProjectTasks/Edit.cshtml index 8aad304..4a934bf 100644 --- a/Projects/Views/ProjectTasks/Edit.cshtml +++ b/Projects/Views/ProjectTasks/Edit.cshtml @@ -1,10 +1,10 @@ @model Projects.Models.ProjectTask @{ - ViewBag.Title = "Edit"; + ViewBag.Title = "Edycja zadania"; } -

Edit

+

@ViewBag.Title

@using (Html.BeginForm()) @@ -12,10 +12,23 @@ @Html.AntiForgeryToken()
-

ProjectTask

+

Zadanie


@Html.ValidationSummary(true, "", new { @class = "text-danger" }) @Html.HiddenFor(model => model.id) +
+ +
+

@Html.DisplayFor(model => model.created_at)

+ @Html.EditorFor(model => model.created_at, new { htmlAttributes = new { @class = "form-control", @type = "hidden" } }) +
+
+
+ +
+ +
+
@Html.LabelFor(model => model.project_id, "project_id", htmlAttributes: new { @class = "control-label col-md-2" }) @@ -41,22 +54,6 @@
-
- @Html.LabelFor(model => model.created_at, htmlAttributes: new { @class = "control-label col-md-2" }) -
- @Html.EditorFor(model => model.created_at, new { htmlAttributes = new { @class = "form-control" } }) - @Html.ValidationMessageFor(model => model.created_at, "", new { @class = "text-danger" }) -
-
- -
- @Html.LabelFor(model => model.updated_at, htmlAttributes: new { @class = "control-label col-md-2" }) -
- @Html.EditorFor(model => model.updated_at, new { htmlAttributes = new { @class = "form-control" } }) - @Html.ValidationMessageFor(model => model.updated_at, "", new { @class = "text-danger" }) -
-
-
@Html.LabelFor(model => model.task_status_id, "task_status_id", htmlAttributes: new { @class = "control-label col-md-2" })
@@ -75,14 +72,14 @@
- +
}
- @Html.ActionLink("Back to List", "Index") + @Html.ActionLink("Powrót do listy", "Index")
@section Scripts {