user_mgmt 0.6.3 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,4 +12,9 @@
12
12
  = text_field :user, 'Password', :class => "input-block-level", :type => "password", :placeholder => 'Password'
13
13
 
14
14
  %div
15
- = text_field :user, 'Password Confirmation', :class => "input-block-level", :type => "password", :placeholder => 'Password Confirmation'
15
+ = text_field :user, 'Password Confirmation', :class => "input-block-level", :type => "password", :placeholder => 'Password Confirmation'
16
+
17
+ - if current_user["admin"] == true
18
+ %div
19
+ = checkbox :user, 'Admin?', :class => "input-block-level", :placeholder => 'Admin?'
20
+ - end
@@ -1,3 +1,3 @@
1
1
  module UserMgmt
2
- VERSION = "0.6.3"
2
+ VERSION = "0.6.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: user_mgmt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-08-28 00:00:00.000000000 Z
12
+ date: 2013-10-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sqlite3