user_mgmt 0.7.3 → 0.7.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -14,7 +14,7 @@
|
|
14
14
|
%div
|
15
15
|
= text_field :user, 'Password Confirmation', :class => "input-block-level", :type => "password", :placeholder => 'Password Confirmation'
|
16
16
|
|
17
|
-
|
17
|
+
-# if current_user && current_user["admin"] == true
|
18
18
|
%div
|
19
19
|
Admin?
|
20
20
|
= check_box :user, 'Admin?', :class => "input-block-level", :placeholder => 'Admin?'
|
@@ -9,9 +9,6 @@
|
|
9
9
|
%div
|
10
10
|
= text_field :user, 'Password', :class => "input-block-level", :type => "password", :placeholder => 'Password'
|
11
11
|
|
12
|
-
%div
|
13
|
-
= check_box :user, 'Admin', :class => "input-block-level", :placeholder => 'Admin'
|
14
|
-
|
15
12
|
.login_buttons
|
16
13
|
= submit_tag 'submit', :class => "btn btn-large btn-primary"
|
17
14
|
= link_to 'cancel', cancel_path, :class => "btn btn-large btn-primary"
|
data/lib/user_mgmt/version.rb
CHANGED