summaryrefslogtreecommitdiff
path: root/users/app/views
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2013-09-25 10:12:08 +0200
committerAzul <azul@leap.se>2013-09-25 10:12:08 +0200
commit4f8414298750193b6de3daff08364ec745a6a761 (patch)
treef13b9b550d0179f6b82227345f02f97e3949ad6c /users/app/views
parent193bf6446b384dce1699e8fb82be6f16cb8cb5f6 (diff)
visual feedback when submitting forms (#3164)
This also helps with the failing integration test. We needed a way to tell the ajax request was back. Observing the button state now works for that.
Diffstat (limited to 'users/app/views')
-rw-r--r--users/app/views/users/_edit.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/app/views/users/_edit.html.haml b/users/app/views/users/_edit.html.haml
index ae3f32d..9d2473b 100644
--- a/users/app/views/users/_edit.html.haml
+++ b/users/app/views/users/_edit.html.haml
@@ -35,7 +35,7 @@
= f.input :public_key, :as => :text, :hint => t(:use_ascii_key), :input_html => {:class => "full-width", :rows => 4}
.control-group
.controls
- = f.submit t(:save), :class => 'btn'
+ = f.submit t(:save), :class => 'btn', :data => {"loading-text" => "Saving..."}
-#
-# DESTROY ACCOUNT