blob: f876da1d6ab809eedab312fbac43c63479a06688 [file] [log] [blame]
Rushabh Mehtad6164132012-12-27 18:40:42 +05301{% extends "html/page.html" %}
2
3{% block javascript %}
4 {% include "js/contact.js" %}
5{% endblock %}
6
Rushabh Mehtaf2b17d92013-02-21 10:49:37 +05307{% set title="Contact Us" %}
Rushabh Mehtad6164132012-12-27 18:40:42 +05308
9{% block content %}
10<div class="layout-wrapper">
Rushabh Mehta84adf1b2012-12-28 10:30:46 +053011 <div class="layout-main row">
Rushabh Mehtad6164132012-12-27 18:40:42 +053012 <div class="web-form span5 pull-left">
13 {{ obj.doc.introduction or "<h3>Contact Us</h3>"}}
Rushabh Mehta84adf1b2012-12-28 10:30:46 +053014 <div class="row">
15 <div class="span4">
Rushabh Mehtad6164132012-12-27 18:40:42 +053016 <p id="contact-alert" class="alert"
17 style="display: none;">&nbsp;</p>
18 </div>
Rushabh Mehta84adf1b2012-12-28 10:30:46 +053019 </div>
Rushabh Mehtad6164132012-12-27 18:40:42 +053020 <div class="clearfix"></div>
21 <p><select class="span4" name="subject">
22 {% for option in obj.doc.query_options %}
23 <option value="{{ option }}">{{ option }}</option>
24 {% endfor %}
25 </select></p>
26 <p><input class="span4" name="email" type="text" placeholder="Your Email Address" /></p>
27 <p><textarea class="span4" rows="10" name="message"></textarea></p>
28 <p><button class="btn btn-primary btn-send">Send</button></p>
29 </div>
30 {% if obj.doc.address %}
Rushabh Mehta84adf1b2012-12-28 10:30:46 +053031 <div class="pull-right span3 alert" itemscope itemtype="http://schema.org/PostalAddress">
32 <h4><i class="icon-map-marker"></i> {{ obj.address.address_title }}</h4>
Rushabh Mehtad6164132012-12-27 18:40:42 +053033 {% if obj.address.address_line1 %}
Rushabh Mehta84adf1b2012-12-28 10:30:46 +053034 <span itemprop="streetAddress">{{ obj.address.address_line1 }}</span><br>
Rushabh Mehtad6164132012-12-27 18:40:42 +053035 {% endif %}
36 {% if obj.address.address_line2 %}
Rushabh Mehta84adf1b2012-12-28 10:30:46 +053037 <span itemprop="streetAddress">{{ obj.address.address_line2 }}</span><br>
Rushabh Mehtad6164132012-12-27 18:40:42 +053038 {% endif %}
39 {% if obj.address.city %}
Rushabh Mehta84adf1b2012-12-28 10:30:46 +053040 <span itemprop="addressLocality">{{ obj.address.city }}</span><br>
Rushabh Mehtad6164132012-12-27 18:40:42 +053041 {% endif %}
42 {% if obj.address.state %}
Rushabh Mehta84adf1b2012-12-28 10:30:46 +053043 <span itemprop="addressRegion">{{ obj.address.state }}</span><br>
Rushabh Mehtad6164132012-12-27 18:40:42 +053044 {% endif %}
45 {% if obj.address.pincode %}
Rushabh Mehta84adf1b2012-12-28 10:30:46 +053046 <span itemprop="postalCode">{{ obj.address.pincode }}</span><br>
Rushabh Mehtad6164132012-12-27 18:40:42 +053047 {% endif %}
48 {% if obj.address.country %}
Rushabh Mehta84adf1b2012-12-28 10:30:46 +053049 <span itemprop="addressCountry">{{ obj.address.country }}</span><br>
Rushabh Mehtad6164132012-12-27 18:40:42 +053050 {% endif %}
51 </div>
52 {% endif %}
53 <div class="clearfix"></div>
54 </div>
55</div>
56{% endblock %}