user activation on creation/edit
This commit is contained in:
@ -26,4 +26,7 @@
|
||||
= f.label :staff
|
||||
= f.check_box :staff
|
||||
|
||||
= f.label :active
|
||||
= f.check_box :active
|
||||
|
||||
= f.submit
|
||||
|
@ -6,6 +6,10 @@
|
||||
|
||||
%p Email: #{mail_to(@user.email, nil, encode: 'hex')}
|
||||
%p Phone: #{number_to_phone @user.phone} #{page_link(@user)}
|
||||
%p Admin: #{@user.admin?}
|
||||
%p Staff: #{@user.staff?}
|
||||
%p Account Active: #{@user.active?}
|
||||
%p Has Signed in: #{!@user.authentications.blank?}
|
||||
|
||||
- unless @user.children.empty?
|
||||
%p Children:
|
||||
|
Reference in New Issue
Block a user