2012-11-29 18:14:05 +01:00
|
|
|
= form_tag people_group_path(@group), method: 'get' do
|
|
|
|
%fieldset
|
|
|
|
%legend Projects:
|
|
|
|
%ul.nav.nav-pills.nav-stacked
|
|
|
|
- @projects.each do |project|
|
|
|
|
%li{class: ("active" if params[:project_id] == project.id.to_s)}
|
|
|
|
= link_to people_group_path(@group, project_id: project.id) do
|
|
|
|
= project.name_with_namespace
|
2013-01-30 15:40:43 +01:00
|
|
|
%small.pull-right= project.users.count
|
2012-11-29 18:14:05 +01:00
|
|
|
|
|
|
|
%fieldset
|
|
|
|
%hr
|
2013-01-30 15:40:43 +01:00
|
|
|
= link_to "Reset", people_group_path(@group), class: 'btn pull-right'
|
2012-11-29 18:14:05 +01:00
|
|
|
|