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

60 lines
1.8 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">
2013-05-27 09:17:56 +00:00
<p id="contact-alert" class="alert"
style="display: none;">&nbsp;</p>
<p>
<select 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 %}
2013-05-27 09:17:56 +00:00
</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 13:10:42 +00:00
</div>
{% if obj.doc.address %}
2013-05-27 09:17:56 +00:00
<div class="col col-lg-3 col-offset-1 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 %}