<div class="tab-pane fade" id="tab2_files" role="tabpanel">
    <div class="row mb-3">
        <div class="col-12 col-md-4 mb-2">
            <label class="col-form-label">Файлов на страницу:</label>
            <fieldset class="form-icon-group left-icon position-relative">
                <input type="text" class="form-control" name="files_per_page" value="{htmlspecialchars($config['modules']['files']['files_per_page'])}">
                <div class="form-icon position-absolute">
                    <img src="{$stheme}/images/svg/option.svg" alt="">
                </div>
            </fieldset>
        </div>
        <div class="col-12 col-md-4 mb-2">
            <label class="col-form-label">Файлов на страницу категории:</label>
            <fieldset class="form-icon-group left-icon position-relative">
                <input type="text" class="form-control" name="files_fromcats_per_page" value="{htmlspecialchars($config['modules']['files']['files_fromcats_per_page'])}">
                <div class="form-icon position-absolute">
                    <img src="{$stheme}/images/svg/option.svg" alt="">
                </div>
            </fieldset>
        </div>
        <div class="col-12 col-md-4 mb-2">
            <label class="col-form-label">Комментариев на страницу:</label>
            <fieldset class="form-icon-group left-icon position-relative">
                <input type="text" class="form-control" name="files_comments_limit" value="{htmlspecialchars($config['modules']['files']['comments_limit'])}">
                <div class="form-icon position-absolute">
                    <img src="{$stheme}/images/svg/option.svg" alt="">
                </div>
            </fieldset>
        </div>
        <div class="col-12 col-md-4 mb-2">
            <label class="col-form-label">Короткий шаблон файла:</label>
            <fieldset class="form-icon-group left-icon position-relative">
                <input type="text" class="form-control" name="files_short_tpl" value="{htmlspecialchars($config['modules']['files']['short_tpl'])}">
                <div class="form-icon position-absolute">
                    <img src="{$stheme}/images/svg/option.svg" alt="">
                </div>
            </fieldset>
        </div>
        <div class="col-12 col-md-4 mb-2">
            <label class="col-form-label">Полный шаблон файла:</label>
            <fieldset class="form-icon-group left-icon position-relative">
                <input type="text" class="form-control" name="files_full_tpl" value="{htmlspecialchars($config['modules']['files']['full_tpl'])}">
                <div class="form-icon position-absolute">
                    <img src="{$stheme}/images/svg/option.svg" alt="">
                </div>
            </fieldset>
        </div>
        <div class="col-12 col-md-4 mb-2">
            <label class="col-form-label">Фильтрация модуля:</label>
            <div class="form-check form-switch">
                <input type="hidden" name="files_module_filter" value="false">
                <input class="form-check-input offlineswitcher" type="checkbox" role="switch" name="files_module_filter" value="true" {if $config.modules["files"].filter_form == 'true'}checked{/if}>
            </div>
        </div>
    </div>
</div>