Skip to content

Commit 35ecbf4

Browse files
authored
Merge pull request #1011 from bitdefender/DEX-26369
DEX-26369 - adding location in the form file
2 parents 5b8800f + 171cd40 commit 35ecbf4

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

_src/blocks/booking-form/booking-form.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
display: block;
1818
}
1919

20+
.booking-form-container form {
21+
position: relative;
22+
}
23+
2024
.booking-form-container.display-as-content {
2125
margin-top: 3em;
2226
display: block;
@@ -217,6 +221,12 @@
217221
font-weight: 500;
218222
}
219223

224+
.booking-form-container.blue-btn .input-row input[type="submit"] {
225+
background-color: #016FFF;
226+
border-color: #016FFF;
227+
padding: 15px;
228+
}
229+
220230
.booking-form-container .input-row input {
221231
box-sizing: border-box;
222232
min-height: 35px;

_src/blocks/booking-form/booking-form.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ function handleSubmit(formBox, widgetId, token, fileName, download) {
252252
// set date and locale
253253
data.set('DATE', date);
254254
data.set('LOCALE', locale);
255+
data.set('PAGE', window.location.href);
255256

256257
formBox.querySelectorAll('.input-box').forEach((box) => {
257258
const field = box.querySelector('input[name], select[name], textarea[name]');

0 commit comments

Comments
 (0)