<?php
/* @var $this ImapController */
/* @var $model Imap */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'imap-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'sys_m_imap_host'); ?>
		<?php echo $form->textField($model,'sys_m_imap_host',array('size'=>12,'maxlength'=>12)); ?>
		<?php echo $form->error($model,'sys_m_imap_host'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'sys_m_imap_name'); ?>
		<?php echo $form->textField($model,'sys_m_imap_name',array('size'=>25,'maxlength'=>25)); ?>
		<?php echo $form->error($model,'sys_m_imap_name'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'sys_m_imap_port'); ?>
		<?php echo $form->textField($model,'sys_m_imap_port',array('size'=>20,'maxlength'=>20)); ?>
		<?php echo $form->error($model,'sys_m_imap_port'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'max_tries_to_login'); ?>
		<?php echo $form->textField($model,'max_tries_to_login'); ?>
		<?php echo $form->error($model,'max_tries_to_login'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'max_bann_time'); ?>
		<?php echo $form->textField($model,'max_bann_time'); ?>
		<?php echo $form->error($model,'max_bann_time'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->