diff --git a/notes/Views/Notebook/Create.cshtml b/notes/Views/Notebook/Create.cshtml index 3a639d9..4a505f8 100644 --- a/notes/Views/Notebook/Create.cshtml +++ b/notes/Views/Notebook/Create.cshtml @@ -15,7 +15,7 @@
|
+
@Html.ValidationSummary(true, "", new {@class = "text-danger"})
@Html.LabelFor(model => model.Title, htmlAttributes: new{@class = "control-label col-md-2"})
- @Html.EditorFor(model => model.Title, new {htmlAttributes = new { @class ="form-control"}})
-
+ @Html.EditorFor(model => model.Title, new {htmlAttributes = new { @class ="form-control w-auto bg-light"} })
+ @Html.ValidationMessageFor(model => model.Title, "", new {@class = "text-danger"})
@Html.ValidationMessageFor(model => model.Title, "", new {@class = "text-danger"})
@@ -28,7 +33,7 @@
@Html.LabelFor(model => model.Description, htmlAttributes: new{@class = "control-label col-md-2"})
- @Html.TextAreaFor(model => model.Description, new {htmlAttributes = new { @class ="form-control"}})
+ @Html.TextAreaFor(model => model.Description, new {htmlAttributes = new { @class ="form-control bg-light"}})
@Html.ValidationMessageFor(model => model.Description, "", new {@class = "text-danger"})
@@ -43,8 +48,11 @@
+ |
+
- Notes+Notes |
|
|---|---|
+
@Html.DisplayFor(modelItem => item.Title)-- Created: + + Date of creation: @Html.DisplayFor(modelItem => item.Created) - Edited: + Date of edition: @Html.DisplayFor(modelItem => item.DateOfEdition) + + |
+ @Html.ActionLink("Edit", "Edit", new { id = item.Id}, new { @class = "btn btn-primary" }) @Html.ActionLink("Details", "Details", new {id = item.Id}, new { @class = "btn btn-info" }) @Html.ActionLink("Delete", "Delete", new {id = item.Id}, new { @class = "btn btn-danger" }) + + + |