Use AJAX when adding a new authorized_key from the user home page.
authorTom Clegg <tom@curoverse.com>
Fri, 17 Jan 2014 20:06:34 +0000 (12:06 -0800)
committerTom Clegg <tom@curoverse.com>
Fri, 17 Jan 2014 20:06:34 +0000 (12:06 -0800)
commit0e847d07bd66e554822eb0854bbaee312eeba839
tree089183054b6a6b0d8e8c16052ddcb06442884844
parent09898bcec15c30328ae9e720e9a0c7be1595a004
Use AJAX when adding a new authorized_key from the user home page.

On success, replace reminder box with a "Key added" message. On
failure, display the error message below the form.

refs #1880
apps/workbench/app/assets/javascripts/users.js [new file with mode: 0644]
apps/workbench/app/controllers/application_controller.rb
apps/workbench/app/views/application/error.json.erb [new file with mode: 0644]
apps/workbench/app/views/authorized_keys/create.js.erb [new file with mode: 0644]
apps/workbench/app/views/users/_notifications.html.erb