2016-02-02 17:31:46 -05:00
|
|
|
.top-area
|
|
|
|
%ul.nav-links
|
|
|
|
= nav_link(page: dashboard_groups_path) do
|
2016-02-02 18:07:11 -05:00
|
|
|
= link_to dashboard_groups_path, title: 'Your groups' do
|
2016-02-02 17:31:46 -05:00
|
|
|
Your Groups
|
|
|
|
= nav_link(page: explore_groups_path) do
|
2016-02-02 18:07:11 -05:00
|
|
|
= link_to explore_groups_path, title: 'Explore groups' do
|
2016-02-02 17:31:46 -05:00
|
|
|
Explore Groups
|
|
|
|
- if current_user.can_create_group?
|
2016-02-02 19:08:30 -05:00
|
|
|
.nav-controls
|
2016-02-02 17:31:46 -05:00
|
|
|
= link_to new_group_path, class: "btn btn-new" do
|
|
|
|
New Group
|