aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/help
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2014-05-15 17:01:22 +0100
committerLouise Crow <louise.crow@gmail.com>2014-05-15 17:01:22 +0100
commitbb5f95040d377d86629012347343fbf2c7dda016 (patch)
treebe696ec2615b098db34449a982fcb09a68c9c49b /app/views/help
parent6d215fba5cc709c43f12f86da39a643e4be5922b (diff)
parent21027d0d1197e7ac447296ab68a25159860888b2 (diff)
Merge remote-tracking branch 'origin/release/0.18'0.18
Diffstat (limited to 'app/views/help')
-rw-r--r--app/views/help/contact.html.erb7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/views/help/contact.html.erb b/app/views/help/contact.html.erb
index ad89db9ec..d228aa3a5 100644
--- a/app/views/help/contact.html.erb
+++ b/app/views/help/contact.html.erb
@@ -65,6 +65,11 @@
<%= f.text_area :message, :rows => 10, :cols => 60 %>
</p>
+ <p style="display:none;">
+ <%= f.label :comment, 'Do not fill in this field' %>
+ <%= f.text_field :comment %>
+ </p>
+
<% if !@last_request.nil? %>
<p>
<label class="form_label" for="contact_message">Include link to request:</label>
@@ -88,7 +93,7 @@
<div class="form_button">
<%= hidden_field_tag(:submitted_contact_form, 1) %>
- <%= submit_tag "Send message to the charity" %>
+ <%= submit_tag "Send message to the charity", :disable_with => "Sending..." %>
&lt;-- we run this site, not the Government!
</div>