@model PostgreSqlDotnetCore.Models.BlogPostConsultation @{ ViewBag.Title = "Edit"; }

Edit

@using (Html.BeginForm()) { @Html.AntiForgeryToken()

BlogPostConsultation


@Html.ValidationSummary(true, "", new { @class = "text-danger" }) @Html.HiddenFor(model => model.id)
@Html.LabelFor(model => model.date_askes, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.date_askes, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.date_askes, "", 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.ValidationMessageFor(model => model.title, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.description, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.description, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.description, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.users_id, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.EditorFor(model => model.users_id, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.users_id, "", new { @class = "text-danger" })

}
@Html.ActionLink("Back to List", "Index")