diff options
| author | Gareth Rees <gareth@mysociety.org> | 2014-08-19 09:29:54 +0100 |
|---|---|---|
| committer | Gareth Rees <gareth@mysociety.org> | 2014-08-21 11:36:20 +0100 |
| commit | 64a1f148fedcf375a47f959edbdd4cab0170acea (patch) | |
| tree | 92f56b66317d9549cabf06fd6bc09c7736ebee6c /doc | |
| parent | a4d343096231d62e8d91a1b23ba9e1997e9136c0 (diff) | |
Add honeypot spam protection to body update form
Intercepts the request and redirects to the homepage if the comment
field is filled in on the public body update form.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/CHANGES.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/CHANGES.md b/doc/CHANGES.md index 61f55211c..cc8c37c3a 100644 --- a/doc/CHANGES.md +++ b/doc/CHANGES.md @@ -20,6 +20,14 @@ `script/rails-post-deploy` to link up the new location. If you don't use `SHARED_FILES` and `SHARED_DIRECTORIES`, alaveteli will now write it's application logs to `APP_ROOT/log` rather than `APP_ROOT/../logs` by default. +* `public_body_change_requests/new.html.erb` has a new field for spam prevention + so customisations of this template should be updated with: + + <p style="display:none;"> + <%= label_tag 'public_body_change_request[comment]', _('Do not fill in this field') %> + <%= text_field_tag 'public_body_change_request[comment]' %> + </p> + This is the anti-spam honeypot. # Version 0.18 |
