Rushabh Mehta | 3023a8f | 2013-04-03 16:34:23 +0530 | [diff] [blame] | 1 | {% extends "app/website/templates/html/page.html" %} |
Rushabh Mehta | d616413 | 2012-12-27 18:40:42 +0530 | [diff] [blame] | 2 | |
| 3 | {% block javascript %} |
Rushabh Mehta | 3023a8f | 2013-04-03 16:34:23 +0530 | [diff] [blame] | 4 | {% include "app/website/templates/js/contact.js" %} |
Rushabh Mehta | d616413 | 2012-12-27 18:40:42 +0530 | [diff] [blame] | 5 | {% endblock %} |
| 6 | |
Rushabh Mehta | f2b17d9 | 2013-02-21 10:49:37 +0530 | [diff] [blame] | 7 | {% set title="Contact Us" %} |
Rushabh Mehta | d616413 | 2012-12-27 18:40:42 +0530 | [diff] [blame] | 8 | |
| 9 | {% block content %} |
Rushabh Mehta | d6c8235 | 2013-04-18 17:43:21 +0530 | [diff] [blame^] | 10 | <div class="col-span-12"> |
Rushabh Mehta | f41dd39 | 2013-02-21 16:57:54 +0530 | [diff] [blame] | 11 | <h3>{{ obj.doc.heading or "Contact Us"}}</h3> |
Rushabh Mehta | 78db3ec | 2013-02-21 14:25:30 +0530 | [diff] [blame] | 12 | <div class="row"> |
Rushabh Mehta | d6c8235 | 2013-04-18 17:43:21 +0530 | [diff] [blame^] | 13 | <div class="web-form col-span-8"> |
Rushabh Mehta | 84adf1b | 2012-12-28 10:30:46 +0530 | [diff] [blame] | 14 | <div class="row"> |
Rushabh Mehta | d6c8235 | 2013-04-18 17:43:21 +0530 | [diff] [blame^] | 15 | <div class="col-span-6"> |
Rushabh Mehta | d616413 | 2012-12-27 18:40:42 +0530 | [diff] [blame] | 16 | <p id="contact-alert" class="alert" |
| 17 | style="display: none;"> </p> |
| 18 | </div> |
Rushabh Mehta | 84adf1b | 2012-12-28 10:30:46 +0530 | [diff] [blame] | 19 | </div> |
Rushabh Mehta | d616413 | 2012-12-27 18:40:42 +0530 | [diff] [blame] | 20 | <div class="clearfix"></div> |
Rushabh Mehta | d6c8235 | 2013-04-18 17:43:21 +0530 | [diff] [blame^] | 21 | <p><select class="col-span-6" name="subject"> |
Akhilesh Darjee | c3fde66 | 2013-03-22 18:05:22 +0530 | [diff] [blame] | 22 | {% for option in obj.query_options %} |
Rushabh Mehta | d616413 | 2012-12-27 18:40:42 +0530 | [diff] [blame] | 23 | <option value="{{ option }}">{{ option }}</option> |
| 24 | {% endfor %} |
| 25 | </select></p> |
Rushabh Mehta | d6c8235 | 2013-04-18 17:43:21 +0530 | [diff] [blame^] | 26 | <p><input class="col-span-6" name="email" type="text" placeholder="Your Email Address" /></p> |
| 27 | <p><textarea class="col-span-6" rows="10" name="message"></textarea></p> |
Rushabh Mehta | d616413 | 2012-12-27 18:40:42 +0530 | [diff] [blame] | 28 | <p><button class="btn btn-primary btn-send">Send</button></p> |
| 29 | </div> |
| 30 | {% if obj.doc.address %} |
Rushabh Mehta | d6c8235 | 2013-04-18 17:43:21 +0530 | [diff] [blame^] | 31 | <div class="col-span-3 alert" style="margin-top: 20px;" itemscope itemtype="http://schema.org/PostalAddress"> |
Rushabh Mehta | 84adf1b | 2012-12-28 10:30:46 +0530 | [diff] [blame] | 32 | <h4><i class="icon-map-marker"></i> {{ obj.address.address_title }}</h4> |
Rushabh Mehta | d616413 | 2012-12-27 18:40:42 +0530 | [diff] [blame] | 33 | {% if obj.address.address_line1 %} |
Rushabh Mehta | 84adf1b | 2012-12-28 10:30:46 +0530 | [diff] [blame] | 34 | <span itemprop="streetAddress">{{ obj.address.address_line1 }}</span><br> |
Rushabh Mehta | d616413 | 2012-12-27 18:40:42 +0530 | [diff] [blame] | 35 | {% endif %} |
| 36 | {% if obj.address.address_line2 %} |
Rushabh Mehta | 84adf1b | 2012-12-28 10:30:46 +0530 | [diff] [blame] | 37 | <span itemprop="streetAddress">{{ obj.address.address_line2 }}</span><br> |
Rushabh Mehta | d616413 | 2012-12-27 18:40:42 +0530 | [diff] [blame] | 38 | {% endif %} |
| 39 | {% if obj.address.city %} |
Rushabh Mehta | 84adf1b | 2012-12-28 10:30:46 +0530 | [diff] [blame] | 40 | <span itemprop="addressLocality">{{ obj.address.city }}</span><br> |
Rushabh Mehta | d616413 | 2012-12-27 18:40:42 +0530 | [diff] [blame] | 41 | {% endif %} |
| 42 | {% if obj.address.state %} |
Rushabh Mehta | 84adf1b | 2012-12-28 10:30:46 +0530 | [diff] [blame] | 43 | <span itemprop="addressRegion">{{ obj.address.state }}</span><br> |
Rushabh Mehta | d616413 | 2012-12-27 18:40:42 +0530 | [diff] [blame] | 44 | {% endif %} |
| 45 | {% if obj.address.pincode %} |
Rushabh Mehta | 84adf1b | 2012-12-28 10:30:46 +0530 | [diff] [blame] | 46 | <span itemprop="postalCode">{{ obj.address.pincode }}</span><br> |
Rushabh Mehta | d616413 | 2012-12-27 18:40:42 +0530 | [diff] [blame] | 47 | {% endif %} |
| 48 | {% if obj.address.country %} |
Rushabh Mehta | 84adf1b | 2012-12-28 10:30:46 +0530 | [diff] [blame] | 49 | <span itemprop="addressCountry">{{ obj.address.country }}</span><br> |
Rushabh Mehta | d616413 | 2012-12-27 18:40:42 +0530 | [diff] [blame] | 50 | {% endif %} |
| 51 | </div> |
| 52 | {% endif %} |
Rushabh Mehta | d616413 | 2012-12-27 18:40:42 +0530 | [diff] [blame] | 53 | </div> |
Rushabh Mehta | f41dd39 | 2013-02-21 16:57:54 +0530 | [diff] [blame] | 54 | {{ obj.doc.introduction }} |
Rushabh Mehta | d616413 | 2012-12-27 18:40:42 +0530 | [diff] [blame] | 55 | </div> |
| 56 | {% endblock %} |