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

56 lines
1.9 KiB
HTML
Raw Normal View History

{% extends "app/website/templates/html/page.html" %}
2012-12-27 13:10:42 +00:00
{% block javascript %}
{% include "app/website/templates/js/contact.js" %}
2012-12-27 13:10:42 +00:00
{% endblock %}
2013-02-21 05:19:37 +00:00
{% set title="Contact Us" %}
2012-12-27 13:10:42 +00:00
{% block content %}
<div class="col col-lg-12">
2013-02-21 11:27:54 +00:00
<h3>{{ obj.doc.heading or "Contact Us"}}</h3>
2013-02-21 08:55:30 +00:00
<div class="row">
<div class="web-form col col-lg-8">
2012-12-28 05:00:46 +00:00
<div class="row">
<div class="col col-lg-6">
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="col col-lg-6" name="subject">
2013-03-22 12:35:22 +00:00
{% for option in obj.query_options %}
2012-12-27 13:10:42 +00:00
<option value="{{ option }}">{{ option }}</option>
{% endfor %}
</select></p>
<p><input class="col col-lg-6" name="email" type="text" placeholder="Your Email Address" /></p>
<p><textarea class="col col-lg-6" rows="10" name="message"></textarea></p>
2012-12-27 13:10:42 +00:00
<p><button class="btn btn-primary btn-send">Send</button></p>
</div>
{% if obj.doc.address %}
<div class="col col-lg-3 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>
2013-02-21 11:27:54 +00:00
{{ obj.doc.introduction }}
2012-12-27 13:10:42 +00:00
</div>
{% endblock %}