@using TravelCompanyContracts.ViewModels.TouristViewModels

@model PlaceViewModel
@{
    ViewData["Title"] = "Privacy Policy";
}
<div class="text-center" >
    <h2 class="display-4">Место</h2>
</div>
<form method="post" style="margin-top:50px">
    <div class="row">
        <div class="col-4"></div>
        <div class="col-2">Название:</div>
        <div class="col-4"><input type="text" name="placename" value="@Model.PlaceName" /></div>
    </div>
    <div class="row">
        <div class="col-4"></div>
        <div class="col-2">Адрес:</div>
        <div class="col-4"><input type="text" name="address" value="@Model.PlaceAddress" /></div>
    </div>
    <div class="row">
        <div class="col-4"></div>
        <div class="col-2">Экскурсия:</div>
        <div class="col-4">
            <select name="excursion" class="form-control" value="@Model.ExcursionName" asp-items="@(new SelectList(@ViewBag.Excursions,"Id", "ExcursionName"))"></select>
        </div>
    </div>
    <div class="row">
        <div class="col-8"></div>
        <div class="col-4"><input type="submit" value="Сохранить" class="btn btn-primary" style="margin-top:20px"/></div>
    </div>
</form>