Add "disable-with" to most edit forms (should fix #2264)

This commit is contained in:
Type-kun
2016-08-30 22:54:38 +05:00
parent 23f4232bd2
commit a7d553038f
28 changed files with 28 additions and 28 deletions

View File

@@ -2,6 +2,6 @@
<%= f.input :to_name, :label => "To" %>
<%= f.input :title, :as => :string %>
<%= dtext_field "dmail", "body" %>
<%= f.button :submit, "Send" %>
<%= f.button :submit, "Send", :data => { :disable_with => "Sending..." } %>
<%= dtext_preview_button "dmail", "body" %>
<% end %>