Commit 04a37106 authored by Ruslan Karimov's avatar Ruslan Karimov

#3465. Правка верстки

parent 2436b5d6
...@@ -68,6 +68,19 @@ use common\modules\bids\models\Bid; ...@@ -68,6 +68,19 @@ use common\modules\bids\models\Bid;
])->label(false); ])->label(false);
?> ?>
<?php echo $form->field($model, 'confirm',
['template' => '{input}{label}{error}{hint}']
)->checkbox([
'id' => 'bid-confirm',
'checked' => false,
'required' => true,
'class' => 'footer_form__check',
'data-required-message' => Yii::t('form', 'Accept the terms')
],
false
)->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']));
?>
<div class="clear"></div> <div class="clear"></div>
......
...@@ -69,6 +69,19 @@ use yii\widgets\ActiveForm; ...@@ -69,6 +69,19 @@ use yii\widgets\ActiveForm;
'class' => 'footer_form__input' 'class' => 'footer_form__input'
]); ?> ]); ?>
<?php echo $form->field($model, 'confirm',
['template' => '{input}{label}{error}{hint}']
)->checkbox([
'id' => 'bid-confirm-index',
'checked' => false,
'required' => true,
'class' => 'footer_form__check',
'data-required-message' => Yii::t('form', 'Accept the terms')
],
false
)->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']));
?>
<div class="business-case-comment"> <div class="business-case-comment">
<?php echo $form->field($model, 'text')->textArea([ <?php echo $form->field($model, 'text')->textArea([
'placeholder' => 'Комментарий', 'placeholder' => 'Комментарий',
......
...@@ -5,7 +5,7 @@ use yii\helpers\Html; ...@@ -5,7 +5,7 @@ use yii\helpers\Html;
use common\modules\bids\models\Bid; use common\modules\bids\models\Bid;
?> ?>
<div id="request_access" class="popup popup_2 blog_form_2"> <div id="request_access" class="popup popup_2 blog_form_2 popup_custom">
<div class="txtbtnclose"><?= \Yii::t('blog', 'Close') ?></div> <div class="txtbtnclose"><?= \Yii::t('blog', 'Close') ?></div>
<span class="popup__title"><?= \Yii::t('blog', 'Connection request') ?></span> <span class="popup__title"><?= \Yii::t('blog', 'Connection request') ?></span>
<p><strong><?= \Yii::t('blog', <p><strong><?= \Yii::t('blog',
...@@ -72,8 +72,21 @@ use common\modules\bids\models\Bid; ...@@ -72,8 +72,21 @@ use common\modules\bids\models\Bid;
<div class="clear"></div> <div class="clear"></div>
<?php echo $form->field($model, 'confirm',
['template' => '{input}{label}{error}{hint}']
)->checkbox([
'id' => 'bid-confirm-index',
'checked' => false,
'required' => true,
'class' => 'footer_form__check',
'data-required-message' => Yii::t('form', 'Accept the terms')
],
false
)->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']));
?>
<?php echo Html::submitButton(\Yii::t('blog', 'Request access'), <?php echo Html::submitButton(\Yii::t('blog', 'Request access'),
['class' => 'save-button btn-default button-lg']); ?> ['class' => 'save-button popup_bt_send']); ?>
</div> </div>
......
...@@ -7,7 +7,7 @@ use yii\widgets\ActiveForm; ...@@ -7,7 +7,7 @@ use yii\widgets\ActiveForm;
<div class="popup popup_2 blog_form_2 popup_custom" id="sources_form"> <div class="popup popup_2 blog_form_2 popup_custom" id="sources_form">
<div class="txtbtnclose"><?= \Yii::t('blog', 'Close') ?></div> <div class="txtbtnclose"><?= \Yii::t('blog', 'Close') ?></div>
<span class="popup__title">Запрос на исходники платформы TaskOn</span> <span class="popup__title">Запрос на исходники платформы TaskOn</span>
<p><strong>Для того, чтобы мы смогли Вам предоставить доступ расскажите немного о себе заполив поля ниже</strong> <p><strong>Для того, чтобы мы смогли Вам предоставить доступ расскажите немного о себе</strong>
</p> </p>
<br> <br>
<?php <?php
...@@ -64,6 +64,19 @@ use yii\widgets\ActiveForm; ...@@ -64,6 +64,19 @@ use yii\widgets\ActiveForm;
<div class="clear"></div> <div class="clear"></div>
<?php echo $form->field($model, 'confirm',
['template' => '{input}{label}{error}{hint}']
)->checkbox([
'id' => 'bid-confirm-index',
'checked' => false,
'required' => true,
'class' => 'footer_form__check',
'data-required-message' => Yii::t('form', 'Accept the terms')
],
false
)->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']));
?>
<?php echo Html::submitButton('Отправить', <?php echo Html::submitButton('Отправить',
['class' => 'save-button btn-default button-lg btn-custom']); ?> ['class' => 'save-button btn-default button-lg btn-custom']); ?>
......
...@@ -38,8 +38,8 @@ ...@@ -38,8 +38,8 @@
} }
.calk_form_custom .file-upload_block{ .calk_form_custom .file-upload_block{
width: 420px; width: 420px;
height: 333px; height: 305px;
top: 129px; top: 100px;
} }
.footer_form__check{ .footer_form__check{
position: absolute; position: absolute;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment