This commit is contained in:
Carlos Ferreira 2016-11-10 14:05:33 +01:00
parent 75c7c2c984
commit d63aa4b918
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ $this->pageTitle = Yii::t('UserModule.views_auth_login', 'Login');
<p><?php echo Yii::t('UserModule.views_auth_login', "Don't have an account? Join the network by entering your e-mail address."); ?></p>
<?php $form = ActiveForm::begin(['id' => 'invite-form']); ?>
<?php echo $form->field($invite, 'email')->textInput(['id' => 'register-email', 'placeholder' => $invite->getAttributeLabel('email')])->label(false); ?>
<?php echo $form->field($invite, 'email')->input('email', ['id' => 'register-email', 'placeholder' => $invite->getAttributeLabel('email')])->label(false); ?>
<hr>
<?php echo CHtml::submitButton(Yii::t('UserModule.views_auth_login', 'Register'), array('class' => 'btn btn-primary', 'data-ui-loader' => '')); ?>

View File

@ -96,7 +96,7 @@ use humhub\modules\user\widgets\AuthChoice;
<p><?php echo Yii::t('UserModule.views_auth_login', "Don't have an account? Join the network by entering your e-mail address."); ?></p>
<?php $form = ActiveForm::begin(); ?>
<?php echo $form->field($invite, 'email')->textInput(['id' => 'register-email', 'placeholder' => Yii::t('UserModule.views_auth_login', 'email')]); ?>
<?php echo $form->field($invite, 'email')->input('email', ['id' => 'register-email', 'placeholder' => Yii::t('UserModule.views_auth_login', 'email')]); ?>
<hr>
<?php