@using TravelCompanyContracts.ViewModels.TouristViewModels

@model ExcursionViewModel
@{
    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="excursionname" value="@Model.ExcursionName" /></div>
    </div>
    <div class="row">
        <div class="col-4"></div>
        <div class="col-2">Длительность:</div>
        <div class="col-4"><input type="text" name="duration" value="@Model.Duration" /></div>
    </div>
    <div class="row">
        <div class="col-4"></div>
        <div class="col-2">Описание:</div>
        <div class="col-4"><input type="text" name="description" value="@Model.ExcursionDescrition" /></div>
    </div>
    <div class="row">
        <div class="col-4"></div>
        <div class="col-2">Гиды:</div>
        <div class="col-4">
            <ul>
                @foreach (var exc in Model.GuideExcursions)
                {
                    <li> @exc.Value.Surname @exc.Value.Name @exc.Value.Patronymic</li>
                }
            </ul>
        </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>