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 | 4a2f0f8 | 2013-05-22 11:57:05 +0530 | [diff] [blame] | 10 | <div class="col col-lg-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 | 4a2f0f8 | 2013-05-22 11:57:05 +0530 | [diff] [blame] | 13 | <div class="web-form col col-lg-8"> |
Rushabh Mehta | 74560b3 | 2013-05-27 14:47:56 +0530 | [diff] [blame] | 14 | <p id="contact-alert" class="alert" |
| 15 | style="display: none;"> </p> |
| 16 | <p> |
| 17 | <select name="subject"> |
Akhilesh Darjee | c3fde66 | 2013-03-22 18:05:22 +0530 | [diff] [blame] | 18 | {% for option in obj.query_options %} |
Rushabh Mehta | d616413 | 2012-12-27 18:40:42 +0530 | [diff] [blame] | 19 | <option value="{{ option }}">{{ option }}</option> |
| 20 | {% endfor %} |
Rushabh Mehta | 74560b3 | 2013-05-27 14:47:56 +0530 | [diff] [blame] | 21 | </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 Mehta | d616413 | 2012-12-27 18:40:42 +0530 | [diff] [blame] | 33 | </div> |
| 34 | {% if obj.doc.address %} |
Rushabh Mehta | 74560b3 | 2013-05-27 14:47:56 +0530 | [diff] [blame] | 35 | <div class="col col-lg-3 col-offset-1 alert" style="margin-top: 20px;" itemscope itemtype="http://schema.org/PostalAddress"> |
Rushabh Mehta | 84adf1b | 2012-12-28 10:30:46 +0530 | [diff] [blame] | 36 | <h4><i class="icon-map-marker"></i> {{ obj.address.address_title }}</h4> |
Rushabh Mehta | d616413 | 2012-12-27 18:40:42 +0530 | [diff] [blame] | 37 | {% if obj.address.address_line1 %} |
Rushabh Mehta | 84adf1b | 2012-12-28 10:30:46 +0530 | [diff] [blame] | 38 | <span itemprop="streetAddress">{{ obj.address.address_line1 }}</span><br> |
Rushabh Mehta | d616413 | 2012-12-27 18:40:42 +0530 | [diff] [blame] | 39 | {% endif %} |
| 40 | {% if obj.address.address_line2 %} |
Rushabh Mehta | 84adf1b | 2012-12-28 10:30:46 +0530 | [diff] [blame] | 41 | <span itemprop="streetAddress">{{ obj.address.address_line2 }}</span><br> |
Rushabh Mehta | d616413 | 2012-12-27 18:40:42 +0530 | [diff] [blame] | 42 | {% endif %} |
| 43 | {% if obj.address.city %} |
Rushabh Mehta | 84adf1b | 2012-12-28 10:30:46 +0530 | [diff] [blame] | 44 | <span itemprop="addressLocality">{{ obj.address.city }}</span><br> |
Rushabh Mehta | d616413 | 2012-12-27 18:40:42 +0530 | [diff] [blame] | 45 | {% endif %} |
| 46 | {% if obj.address.state %} |
Rushabh Mehta | 84adf1b | 2012-12-28 10:30:46 +0530 | [diff] [blame] | 47 | <span itemprop="addressRegion">{{ obj.address.state }}</span><br> |
Rushabh Mehta | d616413 | 2012-12-27 18:40:42 +0530 | [diff] [blame] | 48 | {% endif %} |
| 49 | {% if obj.address.pincode %} |
Rushabh Mehta | 84adf1b | 2012-12-28 10:30:46 +0530 | [diff] [blame] | 50 | <span itemprop="postalCode">{{ obj.address.pincode }}</span><br> |
Rushabh Mehta | d616413 | 2012-12-27 18:40:42 +0530 | [diff] [blame] | 51 | {% endif %} |
| 52 | {% if obj.address.country %} |
Rushabh Mehta | 84adf1b | 2012-12-28 10:30:46 +0530 | [diff] [blame] | 53 | <span itemprop="addressCountry">{{ obj.address.country }}</span><br> |
Rushabh Mehta | d616413 | 2012-12-27 18:40:42 +0530 | [diff] [blame] | 54 | {% endif %} |
| 55 | </div> |
| 56 | {% endif %} |
Rushabh Mehta | d616413 | 2012-12-27 18:40:42 +0530 | [diff] [blame] | 57 | </div> |
Rushabh Mehta | f41dd39 | 2013-02-21 16:57:54 +0530 | [diff] [blame] | 58 | {{ obj.doc.introduction }} |
Rushabh Mehta | d616413 | 2012-12-27 18:40:42 +0530 | [diff] [blame] | 59 | </div> |
| 60 | {% endblock %} |