Commit ffb6db76 by sbiego

contact info added

parent 9130f8a6
......@@ -46,13 +46,12 @@ paginate = 5
logo = "img/logo.png"
address = """<p><strong>Cooperativa elPoblet</strong>
<br>Newtown upon River
<br>45Y 73J
<br>England
<br>
<strong>Great Britain</strong>
<br>Barcelona
<br>C/ Sardenya, 263
<br>Spain
</p>
"""
latitude = "0"
longitude = "0"
......
<div class="container" id="contact">
<div class="row">
<div class="col-md-8">
<section>
{{ .Content }}
{{ if isset .Site.Params "email" }}
<div class="heading">
<h3>{{ i18n "contactForm" }}</h3>
</div>
<div id="contact-message"></div>
<form class="contact-form" method="post" action="https://formspree.io/{{ .Site.Params.email }}">
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label for="name">{{ i18n "contactName" }}</label>
<input type="text" class="form-control" name="name" id="name" required>
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label for="email">{{ i18n "contactMail" }}</label>
<input type="text" class="form-control" name="email" id="email" required>
</div>
</div>
<div class="col-sm-12">
<div class="form-group">
<label for="message">{{ i18n "contactMessage" }}</label>
<textarea id="message" class="form-control" name="message" required></textarea>
</div>
</div>
<div class="col-sm-12 text-center">
<button type="submit" class="btn btn-template-main"><i class="fa fa-envelope-o"></i>{{ i18n "contactSend" }}</button>
</div>
</div>
<!-- /.row -->
</form>
{{ end }}
</section>
</div>
<div class="col-md-4">
{{ if isset .Site.Params "address" }}
<section>
<h3 class="text-uppercase"> {{ i18n "contactAddrTitle" }}</h3>
{{ .Site.Params.address | safeHTML }}
<p> De 10 h. a 14 h. i de 16 h. a 20 h. de dilluns a dijous. Divendres de 10 h. a 14 h.<br>
<br>
<strong>Truca’ns:</strong> 935 535 611<br>
De 10 a 14 h<br>
</p>
</section>
{{ end }}
</div>
</div>
<!-- /.row -->
</div>
{{ partial "map.html" . }}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment