main
Last change
on this file since 118e414 was 2aea0fd, checked in by ElenaMoskova <elena.moskova99@…>, 4 months ago |
init commit Elena
|
-
Property mode
set to
100644
|
File size:
926 bytes
|
Rev | Line | |
---|
[2aea0fd] | 1 | @model IEnumerable<PostgreSqlDotnetCore.Models.VetCenter>
|
---|
| 2 |
|
---|
| 3 | @{
|
---|
| 4 | ViewBag.Title = "Vet Centers";
|
---|
| 5 | }
|
---|
| 6 |
|
---|
| 7 | <h2>Vet Centers</h2>
|
---|
| 8 |
|
---|
| 9 | <!-- Search form -->
|
---|
| 10 | <form class="form-inline my-2 my-lg-0" action="@Url.Action("Index", "VetCenter")" method="GET">
|
---|
| 11 | <input class="form-control mr-sm-2" type="search" placeholder="Search Vet Centers" aria-label="Search" name="searchTerm">
|
---|
| 12 | <button class="btn btn-outline-success my-2 my-sm-0" type="submit">
|
---|
| 13 | <i class="fas fa-search"></i>
|
---|
| 14 | </button>
|
---|
| 15 | </form>
|
---|
| 16 |
|
---|
| 17 | <!-- Vet Center list -->
|
---|
| 18 | <table class="table">
|
---|
| 19 | <thead>
|
---|
| 20 | <tr>
|
---|
| 21 | <th>name</th>
|
---|
| 22 |
|
---|
| 23 | <!-- Add more columns as needed -->
|
---|
| 24 | </tr>
|
---|
| 25 | </thead>
|
---|
| 26 | <tbody>
|
---|
| 27 | @foreach (var vetCenter in Model)
|
---|
| 28 | {
|
---|
| 29 | <tr>
|
---|
| 30 | <td>@vetCenter.name</td>
|
---|
| 31 |
|
---|
| 32 | <!-- Add more columns as needed -->
|
---|
| 33 | </tr>
|
---|
| 34 | }
|
---|
| 35 | </tbody>
|
---|
| 36 | </table>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.