Website is working!
This commit is contained in:
1 parent
c978ba8e19
commit
2ed0710575
24 files changed
+644
-119
No files matched your search
@@ -2,6 +2,8 @@
|
||||
/* @var $this RegisterFormController */
|
||||
/* @var $model RegisterForm */
|
||||
/* @var $form CActiveForm */
|
||||
|
||||
$this->pageTitle=Yii::t('app', Yii::app()->name) . ' - ' . Yii::t('app', 'Register');
|
||||
?>
|
||||
|
||||
<div class="form">
|
||||
@@ -14,10 +16,13 @@
|
||||
// you need to use the performAjaxValidation()-method described there.
|
||||
'enableAjaxValidation'=>false,
|
||||
)); ?>
|
||||
<h1><?=Yii::t('app', 'Register')?></h1>
|
||||
|
||||
<p class="note">Fields with <span class="required">*</span> are required.</p>
|
||||
<p><?=Yii::t('app', 'Please fill out the registation form')?></p>
|
||||
|
||||
<?php echo $form->errorSummary($model); ?>
|
||||
<p class="note"><?=Yii::t('app', 'Fields with {*} are required.', array('{*}'=>'<span class="required">*</span>'))?></p>
|
||||
|
||||
<?php echo $form->errorSummary($model, Yii::t('app', 'Please, fix following errors:')); ?>
|
||||
|
||||
<div class="row">
|
||||
<?php echo $form->labelEx($model,'username'); ?>
|
||||
@@ -37,9 +42,14 @@
|
||||
<?php echo $form->error($model,'email'); ?>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<?php echo CHtml::activeLabelEx($model, 'verifyCode'); ?>
|
||||
<?php $this->widget('CCaptcha'); ?><BR>
|
||||
<?php echo CHtml::activeTextField($model, 'verifyCode'); ?>
|
||||
</div>
|
||||
|
||||
<div class="row buttons">
|
||||
<?php echo CHtml::submitButton('Submit'); ?>
|
||||
<?php echo CHtml::submitButton(Yii::t('app', 'Register')); ?>
|
||||
</div>
|
||||
|
||||
<?php $this->endWidget(); ?>
|
||||
|
||||
Reference in new issue
Block a user