7f8a520f8a
Rename btn-new, btn-create and btn-save to btn-success Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
13 lines
546 B
Text
13 lines
546 B
Text
.top-area
|
|
%ul.nav-links.mobile-separator.nav.nav-tabs
|
|
= nav_link(page: dashboard_groups_path) do
|
|
= link_to dashboard_groups_path, title: _("Your groups") do
|
|
Your groups
|
|
= nav_link(page: explore_groups_path) do
|
|
= link_to explore_groups_path, title: _("Explore public groups") do
|
|
Explore public groups
|
|
.nav-controls
|
|
= render 'shared/groups/search_form'
|
|
= render 'shared/groups/dropdown'
|
|
- if current_user.can_create_group?
|
|
= link_to _("New group"), new_group_path, class: "btn btn-success"
|