Sha256: fc4ae68b42c925bf1c8f377ded111adb3273ec1966a2e36ff267ec1b8ce6712c

Contents?: true

Size: 803 Bytes

Versions: 4

Compression:

Stored size: 803 Bytes

Contents

- if editable?(group)
  .menu{:data => {:for => "group_#{group.id}"}}
    %ul.actions
      %li
        = link_to t(:edit_group), droom.edit_group_url(group), :class => 'edit', :data => {:action => "popup", :replaced => "#group_#{group.id}"}
      %li
        = link_to t(:add_member), droom.new_group_membership_url(group), :class => 'add', :data => {:action => "popup", :affected => "#group_#{group.id}"}
      %li
        = link_to t(:add_person), droom.new_group_person_url(group), :class => 'add', :data => {:action => "popup", :affected => "#group_#{group.id}"}
      %li
        = link_to t(:delete_group), droom.group_url(group), :method => 'delete', :class => 'delete', :data => {:action => "remove", :removed => "#group_#{group.id}", :confirm => t(:confirm_delete_group, :name => group.name)}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
droom-0.4.3 app/views/droom/groups/_action_menu.haml
droom-0.4.2 app/views/droom/groups/_action_menu.haml
droom-0.4.1 app/views/droom/groups/_action_menu.haml
droom-0.2.1 app/views/droom/groups/_action_menu.haml