user_mgmt 0.7.6 → 0.7.7
Sign up to get free protection for your applications and to get access to all the features.
@@ -14,6 +14,7 @@
|
|
14
14
|
%div
|
15
15
|
= text_field :user, 'Password Confirmation', :class => "input-block-level", :type => "password", :placeholder => 'Password Confirmation'
|
16
16
|
|
17
|
-
|
18
|
-
|
19
|
-
|
17
|
+
- if current_user && current_user["admin"] == true
|
18
|
+
%div
|
19
|
+
Admin?
|
20
|
+
= check_box :user, 'Admin?', :class => "input-block-level", :placeholder => 'Admin?'
|
data/lib/user_mgmt/version.rb
CHANGED