-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.tpl
executable file
·70 lines (70 loc) · 2.28 KB
/
contact.tpl
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<div class="header">
<h2>Contact Us</h2>
<div class="breadcrumb-wrapper">
<ol class="breadcrumb">
<li><a href="{$smarty.const.WWW_TOP}{$site->home_link}">Home</a></li>
/ Contact
</ol>
</div>
</div>
<div class="box-body"
<div class="row">
<div class="box col-md-12">
<div class="box-content">
<div class="row">
<div class="col-lg-12 col-sm-12 col-xs-12">
<div class="panel panel-default">
<div class="panel-body pagination2">
<div class="box-content">
<div class="row">
<div class="col-sm-8">
{$msg}
{if $msg == ""}
<h2>Have a question? <br> Don't hesitate to send us a message. Our team will be
happy to help you.</h2>
</div>
</div>
<div class="row m-b-30">
<div class="col-sm-6">
<form method="POST" action="{$smarty.const.WWW_TOP}/contact-us">
{{csrf_field()}}
<div class="row">
<div class="col-sm-6">
<label for="username" class="h6">Name</label>
<input id="username" type="text" name="username" value=""
placeholder="Name" class="form-control form-white">
</div>
<div class="col-sm-6">
<label for="useremail" class="h6">E-mail</label>
<input type="text" id="useremail" name="useremail"
class="form-control form-white">
</div>
</div>
<label for="comment" class="h6">Message</label>
<textarea rows="7" name="comment" id="comment"
class="form-control form-white"></textarea>
{if {env('NOCAPTCHA_ENABLED')} == 1 && !empty({env('NOCAPTCHA_SITEKEY')}) && !empty({env('NOCAPTCHA_SECRET')})}
{NoCaptcha::display()}{NoCaptcha::renderJs()}
{/if}
<button type="submit" value="submit" class="btn btn-primary m-t-20">Send
message
</button>
</form>
</div>
<div class="col-sm-4 col-sm-offset-1">
<div class="additional">
<h3>Need Help?</h3>
<p>Don’t hesitate to ask us something. Email us via this contact form.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{/if}
</div>
</div>
</div>
</div>