template.php
3.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<div id="order_price" class="orderFormContainer">
<div class="form-container _popup _wide">
<div class="form-container-form">
<p class="form-title">Заказать звонок</p>
<form action="/ajax/form.php" method="post" class="js-form ajax-form">
<input type="hidden" name="form-id" value="feedback">
<?= bitrix_sessid_post() ?>
<label>
<span class="form-label">Ваше имя</span>
<span class="form-input-container">
<input type="text" class="text-input" name="name" data-rules='{"cName": true, "maxlength": 30 }'>
<span class="form-error-message">Поле незаполнено</span>
</span>
</label>
<label class="form-row _required">
<span class="form-label">Телефон</span>
<span class="form-input-container">
<input id="phone" type="text" class="text-input" name="phone" data-rules='{"required": true, "cPhone": true}'>
<span class="form-error-message">Поле незаполнено</span>
</span>
</label>
<label>
<span class="form-label">Удобные дата и время звонка</span>
<span class="form-input-container">
<textarea name="message" class="text-input"></textarea>
<span class="form-error-message">Поле незаполнено</span>
</span>
</label>
<label>
<input type="checkbox" id="subscribeNews" name="subscribe" value="newsletter">
<span style="font-size: 11px;">Я соглашаюсь с<a href="#soglasie" class='js-order-project'>условиями на обработку персональных данных</a></span>
<?$APPLICATION->IncludeComponent('cpeople:form', 'soglasie')?>
</label>
<div class="form-row _submit">
<button type="submit" class="big-button">Отправить</button>
<a href="#!" class="form-cancel js-cancel">Отмена</a>
<span class="form-required-hint">
Поля, обязательные к заполнению
</span>
</div>
</form>
</div>
<div class="form-container-success">
<div class="form-container-success-image"></div>
<p class="form-container-success-title">Ваше сообщение успешно отправлено!</p>
<p class="form-container-success-text">Мы непременно свяжемся с вами в указанное вами время.</p>
<a href="#!" class="big-button form-container-success-link js-cancel">Закрыть</a>
</div>
</div>
</div>