diff options
author | Gareth Rees <gareth@garethrees.co.uk> | 2017-03-22 13:33:57 +0000 |
---|---|---|
committer | Gareth Rees <gareth@garethrees.co.uk> | 2017-03-22 13:33:57 +0000 |
commit | 0dee8c3bd06dd8779500667018185fab6dcee04e (patch) | |
tree | dcd2b0576b4e18ed15bd7c091c8fa25362e7ed5b | |
parent | ed5bc5dd15ad7722d97b1c3164a670298d2501e0 (diff) |
Remove deprecated disable_with button option
Now a subkey of the :data option
-rw-r--r-- | lib/views/help/contact.html.erb | 4 |
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..." } %> <-- we run this site, not the Government! </div> -<% end %>
\ No newline at end of file +<% end %> |