Closed fazelmk closed 9 years ago
I Solved by adding data: { disable_with: "Saving" }
<%= f.submit t(:save, :default => "Save"), :class => "btn btn-primary", data: { disable_with: "Salvando..." } %>
Thanks, added on the next version :+1:
I Solved by adding data: { disable_with: "Saving" }
<%= f.submit t(:save, :default => "Save"), :class => "btn btn-primary", data: { disable_with: "Salvando..." } %>