<div class="row">
    {include file="../../blocks/module_filter.tpl"
        categories=$categoriesDataList
        filterCategory=$filterCategory
        filterSort=$filterSort
        moduleName="movies"
    }

    {foreach $moviesList as $movie}
{*
        {assign var='category' value=','|explode:$movie.category}
*}
        <div class="col-6 col-sm-4 col-md-3 col-lg-3 col-xl-3">
            <div class="card mb-3" style="background: transparent; border: none;">
                <div class="card-body p-0">
                    <span class="position-absolute float-start badge rounded-pill bg-dark m-1">{$movie.year}</span>
                    <a href="/movies/{$movie.alt_name}?lang={$movie.language}">
                        <img class="img-responsive aspect-ratio-1-1-5" src="{$movie.image}" alt="">
                        <h6 class="mt-2 mb-0 text-center" style="height: 40px">{$movie.title|truncate:60:"..."}</h6>
                    </a>
                </div>
            </div>
        </div>
    {/foreach}
</div>
{include file="../../navigation.tpl"}