web part of Bashgid

This commit is contained in:
vladislav.khorev committed 2015-06-26 10:03:20 +00:00
1 parent 4ef60e1aa0
commit 5c5238c85f
155 files changed
+7956

No files matched your search

+57
View File
@@ -0,0 +1,57 @@
<?php
/* @var $this RegisterFormController */
/* @var $model RegisterForm */
/* @var $form CActiveForm */
$this->pageTitle=Yii::t('app', Yii::app()->name) . ' - ' . Yii::t('app', 'Register');
?>
<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
'id'=>'register-form-register-form',
// Please note: When you enable ajax validation, make sure the corresponding
// controller action is handling ajax validation correctly.
// See class documentation of CActiveForm for details on this,
// you need to use the performAjaxValidation()-method described there.
'enableAjaxValidation'=>false,
)); ?>
<h1><?=Yii::t('app', 'Register')?></h1>
<p><?=Yii::t('app', 'Please fill out the registation form')?></p>
<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'); ?>
<?php echo $form->textField($model,'username'); ?>
<?php echo $form->error($model,'username'); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model,'password'); ?>
<?php echo $form->passwordField($model,'password'); ?>
<?php echo $form->error($model,'password'); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model,'email'); ?>
<?php echo $form->emailField($model,'email'); ?>
<?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(Yii::t('app', 'Register')); ?>
</div>
<?php $this->endWidget(); ?>
</div><!-- form -->