<?php echo $form->textFieldRow($model, 'player_id', array('maxlength' => 20)); ?> <?php if (Webadmins::checkAccess('ip_view')) { echo $form->textFieldRow($model, 'player_ip', array('maxlength' => 15)); } ?> <?php echo $form->textFieldRow($model, 'ban_reason', array('maxlength' => 100)); ?> <?php echo $form->dropDownListRow($model, 'admin_nick', Amxadmins::getList(), array('empty' => '', 'maxlength' => 100)); ?> <label for="Bans_ban_created" class="required">Дата бана</label> <?php $this->widget('zii.widgets.jui.CJuiDatePicker', array('model' => $model, 'id' => 'ban_created', 'attribute' => 'ban_created', 'language' => 'ru', 'i18nScriptFile' => 'jquery-ui-i18n.min.js', 'htmlOptions' => array('id' => 'ban_created', 'size' => '10'), 'options' => array('showAnim' => 'fold'))); ?> <div class="form-actions"> <?php $this->widget('bootstrap.widgets.TbButton', array('buttonType' => 'submit', 'type' => 'primary', 'label' => 'Искать')); ?> </div> <?php $this->endWidget();