"Update my public portfolio" button fix

"Update my public portfolio" button was appearing on all account pages.
This commit is contained in:
jameskopacz
2015-03-09 04:39:00 -05:00
parent 24ab61e271
commit 8326d0f973

View File

@ -6,10 +6,10 @@ block content
h1 #{username}'s portfolio
.panel-body
if (user && user.profile.username === username)
.col-xs-12
.text-center
a.btn.btn-big.btn-primary(href="/account") Update my public portfolio
br
.col-xs-12
.text-center
a.btn.btn-big.btn-primary(href="/account") Update my public portfolio
br
.row
.col-xs-12
.col-xs-12.col-sm-12.col-md-5