_team.html.haml 354 Bytes
Newer Older
1 2 3 4 5 6
%table.admin-table
  %thead
    %tr
      %th User
      %th Permissions
  %tbody
7 8 9
    - @project.users_projects.each do |up|
      = render(:partial => 'team_members/show', :locals => {:member => up})

gitlabhq's avatar
gitlabhq committed
10 11

:javascript
12
  $(function(){
13
    $('.repo-access-select, .project-access-select').live("change", function() {
14 15 16
      $(this.form).submit();
    });
  })