@model List<University>

@{
    ViewData["Title"] = "Home Page";
}

<section class="universe">
    <div class="container container_flex">
        <div class="row row_flex">
            <form class="universe_input_block col-md-12">
                <input type="text" class="universe_input" name="searchString" placeholder="Введите название вуза или суза...">
                <input type="image" src="/img/logo/search.svg" alt="search" class="universe_search">
            </form>
            @{
                foreach (var university in Model)
                {
                    <a href="Directions?UniversityId=@university.Id" class="col-2 universe_card universe_card_text">
                        <img src="@university.ImageUrl" alt="universe" class="universe_icon">
                        @university.Name
                        @if (university.MinPlaceCost != 0)
                        {
                            <span>от @university.MinPlaceCost тыс. руб</span>
                        }
                    </a>
                }
            }
        </div>

    </div>
    <div class="navigation_choise">
        <div class="navigation_slid">
            <span class="navigation_slid_active"></span>
            <span class="navigation_slid_disable"></span>
            <span class="navigation_slid_disable"></span>
            <span class="navigation_slid_disable"></span>
        </div>
    </div>


</section>