Changeset 8f8226c for PostgreSqlDotnetCore/Views
- Timestamp:
- 08/20/24 15:04:19 (3 months ago)
- Branches:
- main
- Children:
- 6782104
- Parents:
- ae6c071
- Location:
- PostgreSqlDotnetCore/Views
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
PostgreSqlDotnetCore/Views/PetCares/Edit.cshtml
rae6c071 r8f8226c 48 48 </div> 49 49 50 <div class="form-group"> 50 <div class="form-group"> 51 @Html.LabelFor(model => model.vetcentersid, htmlAttributes: new { @class = "control-label col-md-2" }) 52 <div class="col-md-10"> 53 @Html.DropDownListFor(model => model.vetcentersid, (SelectList)ViewBag.VetCenters, "Select VetCenter", new { @class = "form-control" }) 54 @Html.ValidationMessageFor(model => model.vetcentersid, "", new { @class = "text-danger" }) 55 </div> 56 </div> 57 58 59 @*<div class="form-group"> 51 60 @Html.LabelFor(model => model.vetcentersid, htmlAttributes: new { @class = "control-label col-md-2" }) 52 61 <div class="col-md-10"> … … 55 64 </div> 56 65 </div> 66 *@ 67 @* 68 <div class="form-group"> 69 <label class="control-label col-md-2" for="vetcentersid">VetCenter:</label> 70 <div class="col-md-10"> 71 @Html.DropDownList("vetcentersid", (SelectList)ViewBag.VetCenters, "Select VetCenter", new { @class = "form-control" }) 72 </div> 73 </div> 74 *@ 57 75 58 76 -
PostgreSqlDotnetCore/Views/Pets/Create.cshtml
rae6c071 r8f8226c 16 16 <hr /> 17 17 @Html.ValidationSummary(true, "", new { @class = "text-danger" }) 18 19 <div class="form-group"> 20 @Html.LabelFor(model => model.name, htmlAttributes: new { @class = "control-label col-md-2" }) 21 <div class="col-md-10"> 22 @Html.EditorFor(model => model.name, new { htmlAttributes = new { @class = "form-control" } }) 23 @Html.ValidationMessageFor(model => model.name, "", new { @class = "text-danger" }) 24 </div> 25 </div> 18 26 19 27 <div class="form-group"> -
PostgreSqlDotnetCore/Views/Pets/Delete.cshtml
rae6c071 r8f8226c 12 12 <hr /> 13 13 <dl class="dl-horizontal"> 14 15 <dt> 16 @Html.DisplayNameFor(model => model.name) 17 </dt> 18 19 <dd> 20 @Html.DisplayFor(model => model.name) 21 </dd> 14 22 <dt> 15 23 @Html.DisplayNameFor(model => model.color) -
PostgreSqlDotnetCore/Views/Pets/Details.cshtml
rae6c071 r8f8226c 11 11 <hr /> 12 12 <dl class="dl-horizontal"> 13 <dt> 14 @Html.DisplayNameFor(model => model.name) 15 </dt> 16 17 <dd> 18 @Html.DisplayFor(model => model.name) 19 </dd> 13 20 <dt> 14 21 @Html.DisplayNameFor(model => model.color) -
PostgreSqlDotnetCore/Views/Pets/Edit.cshtml
rae6c071 r8f8226c 18 18 @Html.HiddenFor(model => model.id) 19 19 20 <div class="form-group"> 21 @Html.LabelFor(model => model.name, htmlAttributes: new { @class = "control-label col-md-2" }) 22 <div class="col-md-10"> 23 @Html.EditorFor(model => model.name, new { htmlAttributes = new { @class = "form-control" } }) 24 @Html.ValidationMessageFor(model => model.name, "", new { @class = "text-danger" }) 25 </div> 26 </div> 20 27 <div class="form-group"> 21 28 @Html.LabelFor(model => model.color, htmlAttributes: new { @class = "control-label col-md-2" }) -
PostgreSqlDotnetCore/Views/Pets/Index.cshtml
rae6c071 r8f8226c 12 12 <table class="table"> 13 13 <tr> 14 <th> 15 @Html.DisplayNameFor(model => model.name) 16 </th> 14 17 15 18 <th> … … 36 39 @foreach (var item in Model) { 37 40 <tr> 41 <td> 42 @Html.DisplayFor(modelItem => item.name) 43 </td> 38 44 <td> 39 45 @Html.DisplayFor(modelItem => item.color)
Note:
See TracChangeset
for help on using the changeset viewer.