blob: b9b3cd77a5e51a2aa2931544de3f2014fef29c53 [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 Mehta78db3ec2013-02-21 14:25:30 +053010<div class="span12">
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">
13 <div class="web-form span8">
Rushabh Mehta84adf1b2012-12-28 10:30:46 +053014 <div class="row">
Rushabh Mehtaf41dd392013-02-21 16:57:54 +053015 <div class="span6">
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>
Rushabh Mehtaf41dd392013-02-21 16:57:54 +053021 <p><select class="span6" name="subject">
Akhilesh Darjeec3fde662013-03-22 18:05:22 +053022 {% for option in obj.query_options %}
Rushabh Mehtad6164132012-12-27 18:40:42 +053023 <option value="{{ option }}">{{ option }}</option>
24 {% endfor %}
25 </select></p>
Rushabh Mehtaf41dd392013-02-21 16:57:54 +053026 <p><input class="span6" name="email" type="text" placeholder="Your Email Address" /></p>
27 <p><textarea class="span6" rows="10" name="message"></textarea></p>
Rushabh Mehtad6164132012-12-27 18:40:42 +053028 <p><button class="btn btn-primary btn-send">Send</button></p>
29 </div>
30 {% if obj.doc.address %}
Rushabh Mehta78db3ec2013-02-21 14:25:30 +053031 <div class="span3 alert" style="margin-top: 20px;" itemscope itemtype="http://schema.org/PostalAddress">
Rushabh Mehta84adf1b2012-12-28 10:30:46 +053032 <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 %}
Rushabh Mehtad6164132012-12-27 18:40:42 +053053 </div>
Rushabh Mehtaf41dd392013-02-21 16:57:54 +053054 {{ obj.doc.introduction }}
Rushabh Mehtad6164132012-12-27 18:40:42 +053055</div>
56{% endblock %}