| 1 | <div class="row mt-5"> |
| 2 | <div class="col-md-12"> |
| 3 | <%= render('partial_menus', active_menu: 'friends') %> |
| 4 | </div> |
| 5 | </div> |
| 6 | <div class="row mt-3"> |
| 7 | <div class="col-md-2"> |
| 8 | <%= render('partial_menus_friends', active_menu: 'following' ) %> |
| 9 | </div> |
| 10 | <div class="col-md-10"> |
| 11 | <div class="row mt-5"> |
| 12 | <% if @user.following.count.positive? %> |
| 13 | <% @user.following.each_with_index do |user, index| %> |
| 14 | <%= render('partial_user', user: user) %> |
| 15 | <% end %> |
| 16 | <% else %> |
| 17 | <p>All the lonely people, where do they all belong?</p> |
| 18 | <% end %> |
| 19 | </div> |
| 20 | </div> |
| 21 | </div> |