summaryrefslogtreecommitdiff
path: root/app/helpers/users_helper.rb
diff options
context:
space:
mode:
authorazul <azul@riseup.net>2014-05-09 11:03:53 +0200
committerazul <azul@riseup.net>2014-05-09 11:03:53 +0200
commit726244f1c6bb72fb53a257c084dfbdf7b9c2b03c (patch)
tree1f4bf66497851265a62081124a4ff5b23d0cd09e /app/helpers/users_helper.rb
parentcf6aa0a6c8852424e39e4785a1bd783ab475376b (diff)
parent616313b406e561b45a73e34f54fd5fc7595f9658 (diff)
Merge pull request #156 from azul/bugfix/5548-hide-signup-forms-without-js0.5.1-rc2
hide srp forms when no js is available
Diffstat (limited to 'app/helpers/users_helper.rb')
-rw-r--r--app/helpers/users_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/users_helper.rb b/app/helpers/users_helper.rb
index f56faab..1b2dc5d 100644
--- a/app/helpers/users_helper.rb
+++ b/app/helpers/users_helper.rb
@@ -1,7 +1,7 @@
module UsersHelper
def user_form_class(*classes)
- (classes + ['user', 'form', (@user.new_record? ? 'new' : 'edit')]).compact.join(' ')
+ (classes + ['user', 'hidden', 'js-show', (@user.new_record? ? 'new' : 'edit')]).compact.join(' ')
end
def wrapped(item, options = {})