diff options
| author | horus_arch | 2016-11-23 20:18:43 +0100 |
|---|---|---|
| committer | horus_arch | 2016-11-23 20:18:43 +0100 |
| commit | dbe08e91f1f931d9943b17748729aa0f03b3a003 (patch) | |
| tree | 03bca82ac14756843bb66c8a5337fb9067c79bc3 | |
| parent | c1446967ade3a0be1879090c3915d7646518fd14 (diff) | |
| download | iamfabulous.de-dbe08e91f1f931d9943b17748729aa0f03b3a003.tar.gz | |
Adds honey pot field to the contact form.
| -rw-r--r-- | layouts/contact/single.html | 1 | ||||
| -rw-r--r-- | static/custom.css | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/layouts/contact/single.html b/layouts/contact/single.html index c497c55..4be3a1b 100644 --- a/layouts/contact/single.html +++ b/layouts/contact/single.html @@ -15,6 +15,7 @@ <input class="u-full-width" placeholder="hello" id="subject" name="subject" type="text"> </div> </div> + <input type="text" class="hp" value="" name="gotit"> <label for="message">message</label> <textarea class="u-full-width" placeholder="type your message here …" id="message" name="message"></textarea> <!--label class="example-send-yourself-copy"> diff --git a/static/custom.css b/static/custom.css index 661e2a8..807ab55 100644 --- a/static/custom.css +++ b/static/custom.css @@ -162,4 +162,8 @@ select:focus { background-color: #efefef; border: 1px solid #e0e0e0 !important; box-shadow: 0 0 2px #ddd !important; - } +} +/* detectes robots */ +.hp { + display: none; +} |
