60 lines
1.8 KiB
HTML
Raw Normal View History

{% extends "app/website/templates/html/page.html" %}
2012-12-27 18:40:42 +05:30
{% block javascript %}
{% include "app/website/templates/js/contact.js" %}
2012-12-27 18:40:42 +05:30
{% endblock %}
2013-02-21 10:49:37 +05:30
{% set title="Contact Us" %}
2012-12-27 18:40:42 +05:30
{% block content %}
<div class="col col-lg-12">
2013-02-21 16:57:54 +05:30
<h3>{{ obj.doc.heading or "Contact Us"}}</h3>
2013-02-21 14:25:30 +05:30
<div class="row">
<div class="web-form col col-lg-8">
2013-05-27 14:47:56 +05:30
<p id="contact-alert" class="alert"
style="display: none;">&nbsp;</p>
<p>
<select name="subject">
2013-03-22 18:05:22 +05:30
{% for option in obj.query_options %}
2012-12-27 18:40:42 +05:30
<option value="{{ option }}">{{ option }}</option>
{% endfor %}
2013-05-27 14:47:56 +05:30
</select>
</p>
<p>
<input name="email" type="text"
placeholder="Your Email Address" />
</p>
<p>
<textarea rows="10" name="message"></textarea>
</p>
<p>
<button class="btn btn-primary btn-send">Send</button>
</p>
2012-12-27 18:40:42 +05:30
</div>
{% if obj.doc.address %}
2013-05-27 14:47:56 +05:30
<div class="col col-lg-3 col-offset-1 alert" style="margin-top: 20px;" itemscope itemtype="http://schema.org/PostalAddress">
2012-12-28 10:30:46 +05:30
<h4><i class="icon-map-marker"></i> {{ obj.address.address_title }}</h4>
2012-12-27 18:40:42 +05:30
{% if obj.address.address_line1 %}
2012-12-28 10:30:46 +05:30
<span itemprop="streetAddress">{{ obj.address.address_line1 }}</span><br>
2012-12-27 18:40:42 +05:30
{% endif %}
{% if obj.address.address_line2 %}
2012-12-28 10:30:46 +05:30
<span itemprop="streetAddress">{{ obj.address.address_line2 }}</span><br>
2012-12-27 18:40:42 +05:30
{% endif %}
{% if obj.address.city %}
2012-12-28 10:30:46 +05:30
<span itemprop="addressLocality">{{ obj.address.city }}</span><br>
2012-12-27 18:40:42 +05:30
{% endif %}
{% if obj.address.state %}
2012-12-28 10:30:46 +05:30
<span itemprop="addressRegion">{{ obj.address.state }}</span><br>
2012-12-27 18:40:42 +05:30
{% endif %}
{% if obj.address.pincode %}
2012-12-28 10:30:46 +05:30
<span itemprop="postalCode">{{ obj.address.pincode }}</span><br>
2012-12-27 18:40:42 +05:30
{% endif %}
{% if obj.address.country %}
2012-12-28 10:30:46 +05:30
<span itemprop="addressCountry">{{ obj.address.country }}</span><br>
2012-12-27 18:40:42 +05:30
{% endif %}
</div>
{% endif %}
</div>
2013-02-21 16:57:54 +05:30
{{ obj.doc.introduction }}
2012-12-27 18:40:42 +05:30
</div>
{% endblock %}