<?php $view->extend('::wicms.html.php'); ?>

<?php $this->addGlobal('menuIsActive', $view['router']->path('wi_admin_core_config_news')); ?>
<?php $view['slots']->set('title', $view['translator']->trans('configuration.meta.title', [], 'config')); ?>

<?php $view['slots']->start('stylesheets'); ?>
<link rel="stylesheet" href="<?php echo $view['assets']->getUrl('media/Admin/WiCMS3/js/jquery/select2/dist/css/select2.min.css') ?>">
<link rel="stylesheet" href="<?php echo $view['assets']->getUrl('media/Admin/WiCMS3/css/configuration.css'); ?><?php echo $view['config']->getParameter('vStyle'); ?>">
<?php $view['slots']->stop(); ?>

<?php $view['slots']->start('breadcrumbs'); ?>
<li><?php echo $view['translator']->trans('main-menu.configuration.title'); ?></li>
<li><a href="<?php echo $view['router']->path('wi_admin_core_config_user'); ?>"><?php echo $view['translator']->trans('breadcrumbs.configuration_user', [], 'config'); ?></a></li>
<?php $view['slots']->stop(); ?>

<?php $view['slots']->start('titleSite'); ?>
<?php echo $view['translator']->trans('configuration.user.title', [], 'config'); ?>
<?php $view['slots']->stop(); ?>
<?php $view['slots']->start('titleIcon') ?>
<i class="icon-users color-menu-configuration"></i>
<?php $view['slots']->stop() ?>
<?php $view['slots']->start('helpRightPanel') ?>
<?php $view['slots']->stop() ?>

<?php $view['slots']->start('body'); ?>
    <?php echo $view['form']->start($form); ?>
        <div class="box">
            <div class="box-header bg-transparent">
                <!-- tools box -->
                <h3 class="box-title"><i class="icon-chart-bar-2"></i>
                    <span><?php echo $view['translator']->trans('configuration.user.title', [], 'config'); ?></span>
                </h3>
            </div>
            <!-- /.box-header -->
            <div class="box-body " style="display: block;">
                <div class="row">
                    <div class="large-3 columns">
                        <p><strong><?php echo $view['translator']->trans('configuration.user.autoAccept.title', [], 'config'); ?></strong>
                            <i class="icon-help-circled helpIcon" data-tooltip title="<?php echo $view['translator']->trans('configuration.user.autoAccept.desc', [], 'config'); ?>"></i>
                        </p>
                    </div>
                    <div class="large-9 columns">
                        <div class="formAlert">
                            <?php echo $view['form']->errors($form['user_autoAccept']); ?>
                        </div>
                        <div>
                            <?php echo $view['form']->widget($form['user_autoAccept']); ?>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="large-3 columns">
                        <p><strong><?php echo $view['translator']->trans('configuration.user.confirmEmail.title', [], 'config'); ?></strong>
                            <i class="icon-help-circled helpIcon" data-tooltip title="<?php echo $view['translator']->trans('configuration.user.confirmEmail.desc', [], 'config'); ?>"></i>
                        </p>
                    </div>
                    <div class="large-9 columns">
                        <div class="formAlert">
                            <?php echo $view['form']->errors($form['user_confirmEmail']); ?>
                        </div>
                        <div>
                            <?php echo $view['form']->widget($form['user_confirmEmail']); ?>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="large-3 columns">
                        <p><strong><?php echo $view['translator']->trans('configuration.user.notifyAdmin.title', [], 'config'); ?></strong>
                            <i class="icon-help-circled helpIcon" data-tooltip title="<?php echo $view['translator']->trans('configuration.user.notifyAdmin.desc', [], 'config'); ?>"></i>
                        </p>
                    </div>
                    <div class="large-9 columns">
                        <div class="formAlert">
                            <?php echo $view['form']->errors($form['user_notifyAdmin']); ?>
                        </div>
                        <div>
                            <?php echo $view['form']->widget($form['user_notifyAdmin']); ?>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="large-3 columns">
                        <p><strong><?php echo $view['translator']->trans('configuration.user.notifyAdminList.title', [], 'config'); ?></strong>
                            <i class="icon-help-circled helpIcon" data-tooltip title="<?php echo $view['translator']->trans('configuration.user.notifyAdminList.desc', [], 'config'); ?>"></i>
                        </p>
                    </div>
                    <div class="large-9 columns">
                        <div class="formAlert">
                            <?php echo $view['form']->errors($form['user_notifyAdminList']); ?>
                        </div>
                        <div><?php echo ($view['form']->errors($form['user_notifyAdminList']) ? $view['form']->widget($form['user_notifyAdminList'], array('attr' => array('class' =>'callout alert chosenSelectCategory'))) : $view['form']->widget($form['user_notifyAdminList'])); ?></div>
                    </div>
                </div>
            </div>
        </div>
<div class="row">
    <div class="columns">
        <button class="button" type="submit" value="<?php echo $view['translator']->trans('Form.send'); ?>">
            <i class="icon-edit"></i>
            <?php echo $view['translator']->trans('Form.send'); ?>
        </button>
    </div>
</div>
    <?php echo $view['form']->end($form); ?>
<?php $view['slots']->stop(); ?>

<?php $view['slots']->start('javascript'); ?>
<script src="<?php echo $view['assets']->getUrl('media/Admin/WiCMS3/js/jquery/select2/dist/js/select2.min.js') ?>"></script>
<script src="<?php echo $view['assets']->getUrl('media/Admin/WiCMS3/js/configuration.js'); ?>"></script>
<?php $view['slots']->stop(); ?>
