Changeset 57fc402 for PostgreSqlDotnetCore/Views/City/Index.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/City/Index.cshtml
rd6040ef r57fc402 16 16 @Html.DisplayNameFor(model => model.name) 17 17 </th> 18 18 19 19 <th></th> 20 20 21 21 </tr> 22 22 23 @foreach (var item in Model) { 24 <tr>25 <t d>26 @Html.DisplayFor(modelItem => item.name)27 </td>28 23 @foreach (var item in Model) 24 { 25 <tr> 26 <td> 27 @Html.DisplayFor(modelItem => item.name) 28 </td> 29 29 30 <td> 31 @Html.ActionLink("Edit", "Edit", new { id = item.id }) | 32 @Html.ActionLink("Details", "Details", new { id = item.id }) | 33 @Html.ActionLink("Delete", "Delete", new { id = item.id }) 34 </td> 35 </tr> 36 } 30 31 <td> 32 @Html.ActionLink("Edit", "Edit", new { id = item.id }) | 33 @Html.ActionLink("Details", "Details", new { id = item.id }) | 34 @Html.ActionLink("Delete", "Delete", new { id = item.id }) 35 </td> 36 </tr> 37 } 37 38 38 39 </table>
Note:
See TracChangeset
for help on using the changeset viewer.