Ignore:
Timestamp:
08/15/24 20:01:13 (6 weeks ago)
Author:
ElenaMoskova <elena.moskova99@…>
Branches:
main
Children:
8f8226c
Parents:
2639fab
Message:

Аutomating the process

automating the process of updating the list of veterinary centers

File:
1 edited

Legend:

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

    r2639fab rae6c071  
    3737        </div>
    3838    </div>
     39        <div class="form-group">
     40            @Html.LabelFor(model => model.start_date, htmlAttributes: new { @class = "control-label col-md-2" })
     41            <div class="col-md-10">
     42                @Html.EditorFor(model => model.start_date, new { htmlAttributes = new { @class = "form-control" } })
     43                @Html.ValidationMessageFor(model => model.start_date, "", new { @class = "text-danger" })
     44            </div>
     45        </div>
    3946
    4047
     
    4653        </div>
    4754    </div> *@
     55    @*
    4856        <div class="form-group">
    4957            <label class="control-label col-md-2" for="vetcentersid">VetCenter:</label>
     
    5159                <select class="form-control" id="vetcentersid" name="vetcentersid">
    5260                    <option value="">Select VetCenter</option>
    53                     <option value="1">Vet Svet</option>
    54                     <option value="2">Veterinarian Ambulance - Dr.Tonit</option>
    55                     <option value="4">Vet In</option>
     61                    <option value="4">Vet Svet</option>
     62                    <option value="5">Veterinarian Ambulance - Dr.Tonit</option>
     63                    <option value="6">Vet In</option>
    5664                </select>
    5765            </div>
    5866        </div>
     67        *@
    5968
     69        <div class="form-group">
     70            <label class="control-label col-md-2" for="vetcentersid">VetCenter:</label>
     71            <div class="col-md-10">
     72                @Html.DropDownList("vetcentersid", (SelectList)ViewBag.VetCenters, "Select VetCenter", new { @class = "form-control" })
     73            </div>
     74        </div>
    6075
    6176
Note: See TracChangeset for help on using the changeset viewer.