Changeset 57fc402 for PostgreSqlDotnetCore/Views/Blog/Create.cshtml
- Timestamp:
- 08/22/24 01:46:17 (3 months ago)
- Branches:
- main
- Children:
- 72b1da2
- Parents:
- d6040ef
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
PostgreSqlDotnetCore/Views/Blog/Create.cshtml
rd6040ef r57fc402 17 17 @Html.ValidationSummary(true, "", new { @class = "text-danger" }) 18 18 19 <div class="form-group">19 @* <div class="form-group"> 20 20 @Html.LabelFor(model => model.date_askes, htmlAttributes: new { @class = "control-label col-md-2" }) 21 21 <div class="col-md-10"> … … 24 24 </div> 25 25 </div> 26 *@ 27 @* <div class="form-group"> 28 @Html.LabelFor(model => model.date_askes, htmlAttributes: new { @class = "control-label col-md-2" }) 29 <div class="col-md-10"> 30 @Html.EditorFor(model => model.date_askes, new { htmlAttributes = new { @class = "form-control", @type = "date", value = DateTime.UtcNow.ToString("yyyy-MM-dd") } }) 31 @Html.ValidationMessageFor(model => model.date_askes, "", new { @class = "text-danger" }) 32 </div> 33 </div> 34 *@ 35 36 37 38 39 26 40 27 41 <div class="form-group">
Note:
See TracChangeset
for help on using the changeset viewer.