add loading text for form submit buttons

This commit is contained in:
Alex Turchyn committed 2023-06-11 15:44:07 +03:00
1 parent 85574d6605
commit 21f684ed4a
20 files changed
+44 -23

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@
Cick to upload
</label>
</file-dropzone>
<%= f.button button_title %>
<%= f.button button_title(title: 'Save', disabled_with: 'Saving') %>
<% end %>
</div>
<div class="w-0 md:w-52"></div>