aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGareth Rees <gareth@garethrees.co.uk>2017-03-22 13:33:57 +0000
committerGareth Rees <gareth@garethrees.co.uk>2017-03-22 13:33:57 +0000
commit0dee8c3bd06dd8779500667018185fab6dcee04e (patch)
treedcd2b0576b4e18ed15bd7c091c8fa25362e7ed5b
parented5bc5dd15ad7722d97b1c3164a670298d2501e0 (diff)
Remove deprecated disable_with button option
Now a subkey of the :data option
-rw-r--r--lib/views/help/contact.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/views/help/contact.html.erb b/lib/views/help/contact.html.erb
index 5f467fe..2072d0c 100644
--- a/lib/views/help/contact.html.erb
+++ b/lib/views/help/contact.html.erb
@@ -93,8 +93,8 @@
<div class="form_button">
<%= hidden_field_tag(:submitted_contact_form, 1) %>
- <%= submit_tag "Send message to the charity", :disable_with => "Sending..." %>
+ <%= submit_tag "Send message to the charity", :data => { :disable_with => "Sending..." } %>
&lt;-- we run this site, not the Government!
</div>
-<% end %> \ No newline at end of file
+<% end %>