add loading text for form submit buttons

This commit is contained in:
Alex Turchyn
2023-06-11 12:42:13 +00:00
parent 85574d6605
commit 21f684ed4a
20 changed files with 44 additions and 23 deletions
+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>