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

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

parent 2436b5d6
......@@ -66,7 +66,20 @@ use common\modules\bids\models\Bid;
'placeholder' => \Yii::t('blog', 'Describe briefly for which tasks you want to use the TaskOn platform? *'),
'class' => 'sect_cont_form__textarea'
])->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>
......
......@@ -69,6 +69,19 @@ use yii\widgets\ActiveForm;
'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">
<?php echo $form->field($model, 'text')->textArea([
'placeholder' => 'Комментарий',
......
......@@ -5,7 +5,7 @@ use yii\helpers\Html;
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>
<span class="popup__title"><?= \Yii::t('blog', 'Connection request') ?></span>
<p><strong><?= \Yii::t('blog',
......@@ -72,8 +72,21 @@ use common\modules\bids\models\Bid;
<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'),
['class' => 'save-button btn-default button-lg']); ?>
['class' => 'save-button popup_bt_send']); ?>
</div>
......
......@@ -7,7 +7,7 @@ use yii\widgets\ActiveForm;
<div class="popup popup_2 blog_form_2 popup_custom" id="sources_form">
<div class="txtbtnclose"><?= \Yii::t('blog', 'Close') ?></div>
<span class="popup__title">Запрос на исходники платформы TaskOn</span>
<p><strong>Для того, чтобы мы смогли Вам предоставить доступ расскажите немного о себе заполив поля ниже</strong>
<p><strong>Для того, чтобы мы смогли Вам предоставить доступ расскажите немного о себе</strong>
</p>
<br>
<?php
......@@ -64,6 +64,19 @@ use yii\widgets\ActiveForm;
<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('Отправить',
['class' => 'save-button btn-default button-lg btn-custom']); ?>
......
......@@ -38,8 +38,8 @@
}
.calk_form_custom .file-upload_block{
width: 420px;
height: 333px;
top: 129px;
height: 305px;
top: 100px;
}
.footer_form__check{
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