Added gdpr hint and static field

This commit is contained in:
Administrator
2018-05-27 00:50:41 +02:00
parent 14b6c6af7d
commit 80412f5807
2 changed files with 24 additions and 0 deletions

View File

@ -45,6 +45,10 @@ $this->params['breadcrumbs'][] = $this->title;
<?= $form->field($model, 'password')->passwordInput() ?>
<?php endif ?>
<?php if ($module->enableGPDRcompliance == false): ?>
<?= $form->field($model, 'gdpr_consent')->checkbox() ?>
<?php endif ?>
<?= Html::submitButton(Yii::t('usuario', 'Sign up'), ['class' => 'btn btn-success btn-block']) ?>
<?php ActiveForm::end(); ?>