first commit
This commit is contained in:
55
templates_user/new-contact-form.php
Normal file
55
templates_user/new-contact-form.php
Normal file
@@ -0,0 +1,55 @@
|
||||
<? \S::set_session('form-token', bin2hex(random_bytes(32))); ?>
|
||||
<div class="contact-new-form">
|
||||
<form action="" method="POST" id="contact-form">
|
||||
<input type="hidden" name="action" value="send-contact-new">
|
||||
<input type="hidden" name="token" value="<?= \S::get_session('form-token'); ?>">
|
||||
|
||||
<input type="hidden" name="website" value="">
|
||||
<div class="form-row">
|
||||
<div class="form-group col-12">
|
||||
<input type="text" class="form-control" id="inputZipCode" name="inputZipCode" placeholder="Kod pocztowy" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="form-group col-12">
|
||||
<input type="text" class="form-control" id="inputPhoneNumber" name="inputPhoneNumber" placeholder="Numer telefonu" required >
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="form-group col-12">
|
||||
<input type="email" class="form-control" id="inputEmail" name="inputEmail" placeholder="Adres e-mail" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- <div class="form-group">
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" id="gridCheck" required>
|
||||
<label class="form-check-label" for="gridCheck">
|
||||
Wysyłając formularz wyrażam z zgodę na przetwarzanie swoich danych osobowych zgodnie z ustawą o ochronie danych osobowych.
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" id="gridCheck2" required>
|
||||
<label class="form-check-label" for="gridCheck2">
|
||||
Zostałem poinformowany o prawie dostępu, aktualizacji oraz żądania zaprzestania przetwarzania danych przez Administratora – VIDOK
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input" type="checkbox" id="gridCheck3" required>
|
||||
<label class="form-check-label" for="gridCheck3">
|
||||
Oświadczam, iż zapoznałem się z polityką prywatności VIDOK i akceptuję jej warunki.
|
||||
</label>
|
||||
</div>
|
||||
<p><a href="/polityka-prywatnosci">Polityka prywatnosci</a></p>
|
||||
</div> -->
|
||||
<button type="submit" name="sumbit" class="btn4">Wyślij</button>
|
||||
</form>
|
||||
</div>
|
||||
<script class="footer" type="text/javascript">
|
||||
$('body').on('submit', '#contact-form', function(e) {
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
window.dataLayer.push({
|
||||
'event': 'formSent'
|
||||
});
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user