<div class="tab-pane fade" id="tab2_events" 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="events_per_page" value="{htmlspecialchars($config['modules']['events']['events_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="events_fromcats_per_page" value="{htmlspecialchars($config['modules']['events']['events_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="events_comments_limit" value="{htmlspecialchars($config['modules']['events']['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="events_short_tpl" value="{htmlspecialchars($config['modules']['events']['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="events_full_tpl" value="{htmlspecialchars($config['modules']['events']['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="events_module_filter" value="false">
                <input class="form-check-input offlineswitcher" type="checkbox" role="switch" name="events_module_filter" value="true" {if $config.modules["events"].filter_form == 'true'}checked{/if}>
            </div>
        </div>
    </div>
</div>