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
@@ -34,7 +34,7 @@
<%= render "azure_form", f: f, configs: configs, value: value %>
</disable-hidden>
<div class="form-control">
<%= f.button button_title('OK'), class: 'base-button' %>
<%= f.button button_title(title: 'Save', disabled_with: 'Saving'), class: 'base-button' %>
</div>
<% end %>
</div>