Changeset e90ba32 for PostgreSqlDotnetCore/Views/PetCares/Index.cshtml
- Timestamp:
- 08/29/24 20:27:21 (3 months ago)
- Branches:
- main
- Children:
- 99d0ecc
- Parents:
- a850333
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
PostgreSqlDotnetCore/Views/PetCares/Index.cshtml
ra850333 re90ba32 31 31 @Html.DisplayNameFor(model => model.vetcentersid) 32 32 </th> 33 <th> 34 @Html.DisplayNameFor(model => model.PetsClass.name) 35 </th> 33 36 34 37 <th></th> … … 36 39 </tr> 37 40 38 @foreach (var item in Model) { 39 <tr> 40 <td> 41 @Html.DisplayFor(modelItem => item.title) 42 </td> 43 <td> 44 @Html.DisplayFor(modelItem => item.description) 45 </td> 46 <td> 47 @Html.DisplayFor(modelItem => item.dateending) 48 </td> 41 @foreach (var item in Model) 42 { 43 <tr> 44 <td> 45 @Html.DisplayFor(modelItem => item.title) 46 </td> 47 <td> 48 @Html.DisplayFor(modelItem => item.description) 49 </td> 50 <td> 51 @Html.DisplayFor(modelItem => item.dateending) 52 </td> 49 53 <td> 50 54 @Html.DisplayFor(modelItem => item.start_date) 51 55 </td> 52 <td> 53 @Html.DisplayFor(modelItem => item.usersid) 54 </td> 55 <td> 56 @Html.DisplayFor(modelItem => item.vetcentersid) 57 </td> 56 <td> 57 @Html.DisplayFor(modelItem => item.usersid) 58 </td> 59 <td> 60 @Html.DisplayFor(modelItem => item.vetcentersid) 61 </td> 62 <td> 63 @Html.DisplayFor(modelItem => item.PetsClass.name) 64 </td> 58 65 59 66 60 67 61 <td>62 @Html.ActionLink("Edit", "Edit", new { id = item.id }) |63 @Html.ActionLink("Details", "Details", new { id = item.id }) |64 @Html.ActionLink("Delete", "Delete", new { id = item.id })65 </td>66 </tr>67 }68 <td> 69 @Html.ActionLink("Edit", "Edit", new { id = item.id }) | 70 @Html.ActionLink("Details", "Details", new { id = item.id }) | 71 @Html.ActionLink("Delete", "Delete", new { id = item.id }) 72 </td> 73 </tr> 74 } 68 75 69 76 </table>
Note:
See TracChangeset
for help on using the changeset viewer.