blob: 113b6274352ab69a53ccc6b5e83c9d44a5619593 [file] [log] [blame]
Rushabh Mehta3023a8f2013-04-03 16:34:23 +05301{% extends "app/website/templates/html/page.html" %}
Rushabh Mehtad6164132012-12-27 18:40:42 +05302
3{% block javascript %}
Rushabh Mehta3023a8f2013-04-03 16:34:23 +05304 {% include "app/website/templates/js/contact.js" %}
Rushabh Mehtad6164132012-12-27 18:40:42 +05305{% 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 %}
Rushabh Mehta4a2f0f82013-05-22 11:57:05 +053010<div class="col col-lg-12">
Rushabh Mehtaf41dd392013-02-21 16:57:54 +053011 <h3>{{ obj.doc.heading or "Contact Us"}}</h3>
Rushabh Mehta78db3ec2013-02-21 14:25:30 +053012 <div class="row">
Rushabh Mehta4a2f0f82013-05-22 11:57:05 +053013 <div class="web-form col col-lg-8">
Rushabh Mehta74560b32013-05-27 14:47:56 +053014 <p id="contact-alert" class="alert"
15 style="display: none;">&nbsp;</p>
16 <p>
17 <select name="subject">
Akhilesh Darjeec3fde662013-03-22 18:05:22 +053018 {% for option in obj.query_options %}
Rushabh Mehtad6164132012-12-27 18:40:42 +053019 <option value="{{ option }}">{{ option }}</option>
20 {% endfor %}
Rushabh Mehta74560b32013-05-27 14:47:56 +053021 </select>
22 </p>
23 <p>
24 <input name="email" type="text"
25 placeholder="Your Email Address" />
26 </p>
27 <p>
28 <textarea rows="10" name="message"></textarea>
29 </p>
30 <p>
31 <button class="btn btn-primary btn-send">Send</button>
32 </p>
Rushabh Mehtad6164132012-12-27 18:40:42 +053033 </div>
34 {% if obj.doc.address %}
Rushabh Mehta74560b32013-05-27 14:47:56 +053035 <div class="col col-lg-3 col-offset-1 alert" style="margin-top: 20px;" itemscope itemtype="http://schema.org/PostalAddress">
Rushabh Mehta84adf1b2012-12-28 10:30:46 +053036 <h4><i class="icon-map-marker"></i> {{ obj.address.address_title }}</h4>
Rushabh Mehtad6164132012-12-27 18:40:42 +053037 {% if obj.address.address_line1 %}
Rushabh Mehta84adf1b2012-12-28 10:30:46 +053038 <span itemprop="streetAddress">{{ obj.address.address_line1 }}</span><br>
Rushabh Mehtad6164132012-12-27 18:40:42 +053039 {% endif %}
40 {% if obj.address.address_line2 %}
Rushabh Mehta84adf1b2012-12-28 10:30:46 +053041 <span itemprop="streetAddress">{{ obj.address.address_line2 }}</span><br>
Rushabh Mehtad6164132012-12-27 18:40:42 +053042 {% endif %}
43 {% if obj.address.city %}
Rushabh Mehta84adf1b2012-12-28 10:30:46 +053044 <span itemprop="addressLocality">{{ obj.address.city }}</span><br>
Rushabh Mehtad6164132012-12-27 18:40:42 +053045 {% endif %}
46 {% if obj.address.state %}
Rushabh Mehta84adf1b2012-12-28 10:30:46 +053047 <span itemprop="addressRegion">{{ obj.address.state }}</span><br>
Rushabh Mehtad6164132012-12-27 18:40:42 +053048 {% endif %}
49 {% if obj.address.pincode %}
Rushabh Mehta84adf1b2012-12-28 10:30:46 +053050 <span itemprop="postalCode">{{ obj.address.pincode }}</span><br>
Rushabh Mehtad6164132012-12-27 18:40:42 +053051 {% endif %}
52 {% if obj.address.country %}
Rushabh Mehta84adf1b2012-12-28 10:30:46 +053053 <span itemprop="addressCountry">{{ obj.address.country }}</span><br>
Rushabh Mehtad6164132012-12-27 18:40:42 +053054 {% endif %}
55 </div>
56 {% endif %}
Rushabh Mehtad6164132012-12-27 18:40:42 +053057 </div>
Rushabh Mehtaf41dd392013-02-21 16:57:54 +053058 {{ obj.doc.introduction }}
Rushabh Mehtad6164132012-12-27 18:40:42 +053059</div>
60{% endblock %}