2016-04-01 10:37:01 +00:00
|
|
|
{% extends "base_glarus.html" %}
|
2015-10-04 15:23:56 +00:00
|
|
|
{% load cms_tags %}
|
|
|
|
{% block title %}Contact{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="row">
|
|
|
|
<div class="box">
|
|
|
|
<div class="col-lg-12">
|
2016-04-07 05:26:50 +00:00
|
|
|
{% for message in messages %}
|
|
|
|
<div class="alert alert-success alert-dismissible" role="alert">
|
|
|
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
|
|
|
|
<strong>{{ message }}</strong>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
<hr>
|
2015-10-04 15:23:56 +00:00
|
|
|
<h2 class="intro-text text-center">
|
2016-04-09 00:45:28 +00:00
|
|
|
{% static_placeholder "digital_glarus_contact_title" %}
|
2015-10-04 15:23:56 +00:00
|
|
|
</h2>
|
|
|
|
<hr>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-8">
|
2016-04-07 05:26:50 +00:00
|
|
|
<p>
|
2016-04-09 00:45:28 +00:00
|
|
|
{% static_placeholder "digital_glarus_contact_location" %}
|
2016-04-07 05:26:50 +00:00
|
|
|
</p>
|
2015-10-04 15:23:56 +00:00
|
|
|
</div>
|
|
|
|
<div class="col-md-4">
|
2016-04-09 00:45:28 +00:00
|
|
|
{% static_placeholder "digital_glarus_contact_information" %}
|
2016-04-07 05:26:50 +00:00
|
|
|
<div class="clearfix"> </div>
|
2015-10-04 15:23:56 +00:00
|
|
|
</div>
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="box">
|
|
|
|
<div class="col-lg-12">
|
2016-04-07 05:26:50 +00:00
|
|
|
<hr>
|
|
|
|
<h2 class="intro-text text-center">
|
2016-04-09 00:45:28 +00:00
|
|
|
{% static_placeholder "digital_glarus_contact_form_title" %}
|
2016-04-07 05:26:50 +00:00
|
|
|
</h2>
|
|
|
|
<hr>
|
2016-04-09 00:45:28 +00:00
|
|
|
<p>{% static_placeholder "digital_glarus_contact_form_text" %}</p>
|
2016-04-07 05:26:50 +00:00
|
|
|
<form action="" method="post" >
|
|
|
|
{% csrf_token %}
|
|
|
|
<div class="row">
|
|
|
|
<div autofocus class="form-group col-lg-4 {% if form.name.errors %}has-error text-danger{% endif %}">
|
|
|
|
{{ form.name.label_tag }}
|
|
|
|
{{ form.name }}
|
|
|
|
{{ form.name.errors|striptags}}
|
|
|
|
</div>
|
|
|
|
<div class="form-group col-lg-4 {% if form.email.errors %}has-error text-danger {% endif %}">
|
|
|
|
{{ form.email.label_tag }}
|
|
|
|
{{ form.email }}
|
|
|
|
{{ form.email.errors|striptags}}
|
|
|
|
</div>
|
|
|
|
<div class="form-group col-lg-4 {% if form.phone_number.errors %}has-error text-danger {% endif %}">
|
|
|
|
{{ form.phone_number.label_tag }}
|
|
|
|
{{ form.phone_number }}
|
|
|
|
{{ form.phone_number.errors|striptags}}
|
|
|
|
</div>
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
<div class="form-group col-lg-12 {% if form.message.errors %}has-error text-danger {% endif %}">
|
|
|
|
{{ form.message.label_tag }}
|
|
|
|
{{ form.message }}
|
|
|
|
{{ form.message.errors|striptags}}
|
|
|
|
</div>
|
|
|
|
{{ form.non_field_errors }}
|
|
|
|
<div class="form-group col-lg-12">
|
|
|
|
<input type="hidden" name="save" value="contact">
|
|
|
|
<button type="submit" class="btn btn-default" {% if form.name.errors %} autofocus {% endif %}>Submit</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
<!-- -->
|
2015-10-04 15:23:56 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- /.container -->
|
2016-04-01 10:37:01 +00:00
|
|
|
{% endblock %}
|