.panel.panel-campo
  .panel-body
    .user-profile
      .user-profile-avatar
        img.img-rounded alt="avatar" src=user.gravatar_url(size: 80)
      .user-profile-name
        = user.name
      .user-profile-bio
        = simple_format user.bio

.panel.panel-campo
  .panel-body
    .user-profile
      .user-profile-avatar
        img.img-rounded alt="avatar" src=user.gravatar_url(size: 80)
      .user-profile-name
        = user.name
      .user-profile-bio
        = simple_format user.bio
  - if login? and user == current_user
    .panel-footer.clearfix
      .pull-right
        a.btn.btn-default href=settings_profile_path
          | Edit profile

Add edit link in profile
Add edit link in profile

fahchen/tsemple,w-zengtao/railsgirlschina,bxyb214/book,railsgirls-cn/railsgirlschina,leakeung/campo,lite/wechat-dev,easyhappy/campo,railsgirls-cn/railsgirlschina,w-zengtao/railsgirlschina,tiseheaini/campo-hm,bxyb214/book,lite/wechat-dev,alex-marmot/campo,tiseheaini/campo-hm,alex-marmot/campo,iec-uestc/tsemple,w-zengtao/railsgirlschina,ZhaoZijie/morning,JuanitoFatas/campo,leakeung/campo,easyhappy/campo,railsgirls-cn/railsgirlschina,bxyb214/book,lite/wechat-dev,leakeung/campo,ZhaoZijie/morning,JuanitoFatas/campo,iec-uestc/tsemple,easyhappy/campo,xzh2103072/railsgirlschina,tengcong/campo,fahchen/tsemple,bxyb214/book,chloerei/campo,alex-marmot/railsgirlschina,tengcong/campo,xzh2103072/railsgirlschina,fahchen/tsemple,alex-marmot/campo,iec-uestc/tsemple,ZhaoZijie/morning,xzh2103072/railsgirlschina,JuanitoFatas/campo,chloerei/campo,alex-marmot/railsgirlschina,alex-marmot/railsgirlschina