Retrospring/app/views/tabs/_profile.haml

7 lines
470 B
Plaintext
Raw Normal View History

.card
.list-group.list-group-horizontal-sm.text-center
2020-05-10 00:25:34 -07:00
= list_group_item 'Answers', show_user_profile_path(user.screen_name), badge: user.answered_count
= list_group_item 'Questions', show_user_questions_path(user.screen_name), badge: user.asked_count
= list_group_item 'Followers', show_user_followers_path(user.screen_name), badge: user.follower_count
= list_group_item 'Following', show_user_friends_path(user.screen_name), badge: user.friend_count