Created
October 1, 2012 17:07
-
-
Save aohorodnyk/3813044 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="content"> | |
<? | |
$form = $this->beginWidget('ActiveForm', array( | |
'focus'=>array($model,'email'), | |
'htmlOptions'=>array( | |
'class' => 'details contact-form', | |
), | |
'clientOptions'=>array( | |
'validateOnSubmit'=>false, | |
'validateOnChange'=>true, | |
'validateOnType'=>false, | |
'errorCssClass' => 'parent-error', | |
), | |
'errorMessageCssClass' => 'error-txt', | |
)); | |
?> | |
<fieldset> | |
<div class="headline"> | |
<div class="headline-holder"> | |
<h2><?=Yii::t('applicant', 'registrationApplicant')?></h2> | |
</div> | |
</div> | |
<div class="row"> | |
<?=$form->label($model,'email'); ?> | |
<?=$form->textField($model,'email',array('class'=>'text')); ?> | |
</div> | |
<?=$form->error($model, 'email')?> | |
<div class="btn-area"> | |
<div class="btn-holder"> | |
<span class="submit"><?=Yii::t('forms', 'registration')?><?=$form->submit('');?></span> | |
</div> | |
</div> | |
</fieldset> | |
<? | |
$this->endWidget(); | |
?> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment