@@ -59,9 +59,10 @@ use common\modules\bids\models\Bid;
'checked'=>false,
'required'=>true,
'class'=>'footer_form__check',
'oninvalid'=>"this.setCustomValidity('".Yii::t('form','Accept the terms')."')"
],
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;
'checked'=>false,
'required'=>true,
'class'=>'footer_form__check',
'oninvalid'=>"this.setCustomValidity('".Yii::t('form','Accept the terms')."')"
],
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
)->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">
Я согласен с условиями обработки
<ahref="javascript:;">
персональных данных
</a>
.
<?=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).',
dictFileTooBig:'Максимальный размер файла составляет 15мб.',