From 0dee8c3bd06dd8779500667018185fab6dcee04e Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Wed, 22 Mar 2017 13:33:57 +0000 Subject: Remove deprecated disable_with button option Now a subkey of the :data option --- lib/views/help/contact.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/views/help') 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 @@
<%= 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..." } %> <-- we run this site, not the Government!
-<% end %> \ No newline at end of file +<% end %> -- cgit v1.2.3