<div class="tab-pane fade" id="tab2_ads" 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="ads_per_page" value="{htmlspecialchars($config['modules']['ads']['ads_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="ads_fromcats_per_page" value="{htmlspecialchars($config['modules']['ads']['ads_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="ads_comments_limit" value="{htmlspecialchars($config['modules']['ads']['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="ads_short_tpl" value="{htmlspecialchars($config['modules']['ads']['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="ads_full_tpl" value="{htmlspecialchars($config['modules']['ads']['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="ads_module_filter" value="false">
                <input class="form-check-input offlineswitcher" type="checkbox" role="switch" name="ads_module_filter" value="true" {if $config.modules["ads"].filter_form == 'true'}checked{/if}>
            </div>
        </div>
    </div>
</div>