brotherton-erpnext/website/templates/pages/contact.html

55 lines
1.8 KiB
HTML
Raw Normal View History

2012-12-27 13:10:42 +00:00
{% extends "html/page.html" %}
{% block javascript %}
{% include "js/contact.js" %}
{% endblock %}
2013-02-21 05:19:37 +00:00
{% set title="Contact Us" %}
2012-12-27 13:10:42 +00:00
{% block content %}
2013-02-21 08:55:30 +00:00
<div class="span12">
<div class="row">
<div class="web-form span8">
2012-12-27 13:10:42 +00:00
{{ obj.doc.introduction or "<h3>Contact Us</h3>"}}
2012-12-28 05:00:46 +00:00
<div class="row">
<div class="span4">
2012-12-27 13:10:42 +00:00
<p id="contact-alert" class="alert"
style="display: none;">&nbsp;</p>
</div>
2012-12-28 05:00:46 +00:00
</div>
2012-12-27 13:10:42 +00:00
<div class="clearfix"></div>
<p><select class="span4" name="subject">
{% for option in obj.doc.query_options %}
<option value="{{ option }}">{{ option }}</option>
{% endfor %}
</select></p>
<p><input class="span4" name="email" type="text" placeholder="Your Email Address" /></p>
<p><textarea class="span4" rows="10" name="message"></textarea></p>
<p><button class="btn btn-primary btn-send">Send</button></p>
</div>
{% if obj.doc.address %}
2013-02-21 08:55:30 +00:00
<div class="span3 alert" style="margin-top: 20px;" itemscope itemtype="http://schema.org/PostalAddress">
2012-12-28 05:00:46 +00:00
<h4><i class="icon-map-marker"></i> {{ obj.address.address_title }}</h4>
2012-12-27 13:10:42 +00:00
{% if obj.address.address_line1 %}
2012-12-28 05:00:46 +00:00
<span itemprop="streetAddress">{{ obj.address.address_line1 }}</span><br>
2012-12-27 13:10:42 +00:00
{% endif %}
{% if obj.address.address_line2 %}
2012-12-28 05:00:46 +00:00
<span itemprop="streetAddress">{{ obj.address.address_line2 }}</span><br>
2012-12-27 13:10:42 +00:00
{% endif %}
{% if obj.address.city %}
2012-12-28 05:00:46 +00:00
<span itemprop="addressLocality">{{ obj.address.city }}</span><br>
2012-12-27 13:10:42 +00:00
{% endif %}
{% if obj.address.state %}
2012-12-28 05:00:46 +00:00
<span itemprop="addressRegion">{{ obj.address.state }}</span><br>
2012-12-27 13:10:42 +00:00
{% endif %}
{% if obj.address.pincode %}
2012-12-28 05:00:46 +00:00
<span itemprop="postalCode">{{ obj.address.pincode }}</span><br>
2012-12-27 13:10:42 +00:00
{% endif %}
{% if obj.address.country %}
2012-12-28 05:00:46 +00:00
<span itemprop="addressCountry">{{ obj.address.country }}</span><br>
2012-12-27 13:10:42 +00:00
{% endif %}
</div>
{% endif %}
</div>
</div>
{% endblock %}