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