Style profile show
This commit is contained in:
parent
adee6dcfd6
commit
8d89ff9cc0
@ -1,3 +1,6 @@
|
||||
:css
|
||||
#content { padding-top: 3em; }
|
||||
|
||||
- if policy(@profile).edit?
|
||||
.contain
|
||||
= link_to 'Edit', edit_profile_path(@profile)
|
||||
@ -23,5 +26,5 @@
|
||||
%h2 About #{@profile.name}
|
||||
|
||||
.about
|
||||
= @profile.about
|
||||
%p= @profile.about
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user