@{
    ViewData["Title"] = "CreateTravel";
}
<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="travelname" id="travelname" /></div>
    </div>
    <div class="row">
        <div class="col-4"></div>
        <div class="col-2">Дата начала:</div>
        <div class="col-4"><input type="date" class="form-control" id="datestart" name="datestart" /></div>
    </div>
    <div class="row">
        <div class="col-4"></div>
        <div class="col-2">Описание:</div>
        <div class="col-4"><input type="text" id="description" name="description" /></div>
    </div>
    <div class="row">
        <div class="col-4"></div>
        <div class="col-2">Туры:</div>
        <div class="col-4">
            <select name="tourselect" class="form-control" multiple size="4" id="tourselect">
                @foreach (var tour in ViewBag.Tours)
                {
                    <option value="@tour.Id">@tour.TourName</option>
                }
            </select>
        </div>
    </div>

    <div class="row" style="margin-top:20px">
        <div class="col-4"></div>
        <div class="col-8"></div>
        <div class="col-4"><input type="submit" value="Создать" class="btn btn-primary" /></div>
    </div>
</form>