Show profile pictures to admins and allow them to upload pics

This commit is contained in:
Michael Ball 2020-07-15 23:37:40 -07:00
parent 10d58ef050
commit d5a9b79f6e
4 changed files with 17 additions and 2 deletions

View file

@ -26,6 +26,9 @@
- elsif attr == 'biography'
%td
= markdown(@user.biography)
- elsif attr == 'profile_picture'
%td
= image_tag @user.profile_picture(size: '100'), alt: ''
- elsif attr == 'email'
%td
= @user.send(attr)