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

@@ -92,7 +92,7 @@
<%= f.input :custom_style, :label => "Custom <a href='http://en.wikipedia.org/wiki/Cascading_Style_Sheets'>CSS</a> style".html_safe, :hint => "Style to apply to the whole site.", :input_html => {:size => "40x5"} %>
</fieldset>
<%= f.button :submit, "Submit" %>
<%= f.button :submit, "Submit", :data => { :disable_with => "Submitting..." } %>
<% end %>
</div>
</div>