Added GDPR consent checkbox
This commit is contained in:
@ -45,8 +45,8 @@ $this->params['breadcrumbs'][] = $this->title;
|
|||||||
<?= $form->field($model, 'password')->passwordInput() ?>
|
<?= $form->field($model, 'password')->passwordInput() ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
<?php if ($module->enableGPDRcompliance == false): ?>
|
<?php if ($module->enableGDPRcompliance): ?>
|
||||||
<?= $form->field($model, 'gdpr_consent')->checkbox() ?>
|
<?= $form->field($model, 'gdpr_consent')->checkbox(['value' => 1]) ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
<?= Html::submitButton(Yii::t('usuario', 'Sign up'), ['class' => 'btn btn-success btn-block']) ?>
|
<?= Html::submitButton(Yii::t('usuario', 'Sign up'), ['class' => 'btn btn-success btn-block']) ?>
|
||||||
|
|||||||
Reference in New Issue
Block a user