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