-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact-form.phtml
48 lines (44 loc) · 1.54 KB
/
contact-form.phtml
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
<div class="container">
<div class="row">
<div class="col-lg-6">
<?php $this->loadPartial('bs-form', array(
'title' => $page->getTitle(),
'captcha' => true,
'fields' => array(
array(
'label' => 'Name',
'attrs' => array(
'type' => 'text',
'name' => 'name',
'placeholder' => 'Type your name'
)
),
array(
'label' => 'Email',
'attrs' => array(
'type' => 'text',
'name' => 'email',
'placeholder' => 'Type your email if you want us to reply'
)
),
array(
'label' => 'Message',
'attrs' => array(
'type' => 'textarea',
'name' => 'message',
'placeholder' => 'Type your message',
'rows' => '3'
)
)
),
'length' => array(
'field' => '10',
'label' => '2'
)
)); ?>
</div>
<div class="col-lg-6">
<article><?php echo $page->getDescription(); ?></article>
</div>
</div>
</div>