Ignore:
Timestamp:
08/30/24 02:20:42 (3 months ago)
Author:
ElenaMoskova <elena.moskova99@…>
Branches:
main
Children:
a3ce071
Parents:
e90ba32
Message:

fix update/create petcares

add new field modify functions

Location:
PostgreSqlDotnetCore/Views
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • PostgreSqlDotnetCore/Views/PetCares/Edit.cshtml

    re90ba32 r99d0ecc  
    5656        </div>
    5757
     58        <div class="form-group">
     59            @Html.LabelFor(model => model.pet_id, htmlAttributes: new { @class = "control-label col-md-2" })
     60            <div class="col-md-10">
     61                @Html.DropDownListFor(model => model.pet_id, (SelectList)ViewBag.Pets, "Select Pet", new { @class = "form-control" })
     62                @Html.ValidationMessageFor(model => model.pet_id, "", new { @class = "text-danger" })
     63            </div>
     64        </div>
    5865
    5966   @*<div class="form-group">
  • PostgreSqlDotnetCore/Views/VetCenter/Index.cshtml

    re90ba32 r99d0ecc  
    3434            @Html.DisplayNameFor(model => model.workinghours)
    3535        </th>
     36        @*
    3637        <th>
    3738            @Html.DisplayNameFor(model => model.description)
    3839        </th>
     40        *@
    3941        <th>
    4042            @Html.DisplayNameFor(model => model.phonenumber)
     
    6466                @Html.DisplayFor(modelItem => item.workinghours)
    6567            </td>
    66             <td>
     68           @* <td>
    6769                @Html.DisplayFor(modelItem => item.description)
    6870            </td>
    69 
     71            *@
    7072            <td>
    7173                @Html.DisplayFor(modelItem => item.phonenumber)
Note: See TracChangeset for help on using the changeset viewer.