Style profile show

This commit is contained in:
TheNeedful-DO 2023-11-08 07:12:52 +00:00
parent d29c8e3800
commit 46575bb07e

View File

@ -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