@@ -59,9 +59,10 @@ use common\modules\bids\models\Bid;
...
@@ -59,9 +59,10 @@ use common\modules\bids\models\Bid;
'checked'=>false,
'checked'=>false,
'required'=>true,
'required'=>true,
'class'=>'footer_form__check',
'class'=>'footer_form__check',
'oninvalid'=>"this.setCustomValidity('".Yii::t('form','Accept the terms')."')"
],
],
false
false
)->label(Yii::t('form','I agree to').' <a>'.\Yii::t('form','the terms of usung personal data').'</a>.');
)->label(Yii::t('form','I agree to')." ".Html::a(\Yii::t('form','the terms of using personal data'),'/uploads/personal_data_processing_art_project.pdf',['target'=>'_blank']));
@@ -59,9 +59,10 @@ use common\modules\bids\models\Bid;
...
@@ -59,9 +59,10 @@ use common\modules\bids\models\Bid;
'checked'=>false,
'checked'=>false,
'required'=>true,
'required'=>true,
'class'=>'footer_form__check',
'class'=>'footer_form__check',
'oninvalid'=>"this.setCustomValidity('".Yii::t('form','Accept the terms')."')"
],
],
false
false
)->label(Yii::t('form','I agree to').' <a>'.\Yii::t('form','the terms of usung personal data').'</a>.');
)->label(Yii::t('form','I agree to').' '.Html::a(\Yii::t('form','the terms of using personal data'),'/uploads/personal_data_processing_art_project.pdf',['target'=>'_blank']));
'oninvalid'=>"this.setCustomValidity('".Yii::t('form','Accept the terms')."')"
],
],
false
false
)->label(Yii::t('form','I agree to').' <a>'.\Yii::t('form','the terms of usung personal data').'</a>.');
)->label(Yii::t('form','I agree to')." ".Html::a(\Yii::t('form','the terms of using personal data'),'/uploads/personal_data_processing_art_project.pdf',['target'=>'_blank']));
<inputclass="footer_form__check"type="checkbox"id="check"requiredoninvalid="this.setCustomValidity(' <?=Yii::t('form','Accept the terms')?>')">
<labelfor="check">
<labelfor="check">
Я согласен с условиями обработки
<?=Yii::t('form','I agree to')." ".Html::a(\Yii::t('form','the terms of using personal data'),'/uploads/personal_data_processing_art_project.pdf',['target'=>'_blank'])?>
dictInvalidFileType:'Приложенный файл не может быть загружен в целях безопасности. Пожалуйста, приложите файл в другом формате (Word, Pdf, PowerPoint, Excel).',
dictInvalidFileType:'Приложенный файл не может быть загружен в целях безопасности. Пожалуйста, приложите файл в другом формате (Word, Pdf, PowerPoint, Excel).',
dictFileTooBig:'Максимальный размер файла составляет 15мб.',
dictFileTooBig:'Максимальный размер файла составляет 15мб.',