<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'resource-subscription-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,'subscriber'); ?>
		<?php echo $form->textField($model,'subscriber'); ?>
		<?php echo $form->error($model,'subscriber'); ?>
	</div>

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

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

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

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

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

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

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

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

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

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