<?php use_helper('I18N', 'Date') ?>
<?php include_partial('csSetting/assets') ?>

<?php $sf_response->addStylesheet('/csSettingsPlugin/css/cs_settings.css') ?>

<style type="text/css">
    .arm_csSetting{
        padding: 0;
    }
    .arm_csSetting .error_list{
        position: relative;
    }
    #sf_admin_container{
        padding-top: 15px;
    }
    .lui__notice{
        top: 5px;
        right: 5px;
    }
    .sf_admin_action_save_settings{
        position: absolute;
        top: 57px;
        z-index: 1000;
    }
</style>

<div id="sf_admin_container">
    <span class="lui__h1 h_h1">Настройки</span>
    <span class="br15"></span>

    <?php include_partial('csSetting/flashes') ?>

    <div id="sf_admin_header">
        <div class="lui__list_actions__wrapper" data-count="4" style="height: 46px;"></div>
        <?php /*include_partial('csSetting/list_header', array('pager' => $pager))*/ ?>
    </div>

    <div id="sf_admin_content" style="padding-left: 10px;">
        <form action="<?php echo url_for('@cs_setting_save_all'); ?>" method="post" enctype="multipart/form-data">
            <?php if ($form->isCSRFProtected()) : ?>
                <?php echo $form['_csrf_token']->render(); ?>
            <?php endif; ?>

            <?php include_partial('csSetting/list', array('pager' => $pager, 'sort' => $sort, 'helper' => $helper, 'form' => $form)) ?>

            <ul class="sf_admin_actions">
                <?php include_partial('csSetting/list_batch_actions', array('helper' => $helper)) ?>
                <?php include_partial('csSetting/list_actions', array('helper' => $helper)) ?>
            </ul>
        </form>
    </div>

    <div id="sf_admin_footer">
        <?php include_partial('csSetting/list_footer', array('pager' => $pager)) ?>
    </div>
</div>
