public
Created

Security Article Part 3 - 7

  • Download Gist
_information.html.haml
Haml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
.bio= @user.bio
 
.university
.field University
.value= @user.university
.university_year
.field Year
.value= @user.university_year
 
-if current_user.is_admin?
%h3 Admin Information:
.email
.field Email
.value= @user.email
/...

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.