foodsoft/app/views/foodcoop/workgroups/_workgroup.html.haml
2014-05-13 17:01:25 +02:00

6 lines
319 B
Text

%section.well
%h3= workgroup.name
= render :partial => 'shared/group', :locals => { :group => workgroup }
= link_to t('.show_tasks'), workgroup_tasks_path(workgroup_id: workgroup), class: 'btn'
- if workgroup.member?(current_user)
= link_to t('.edit'), edit_foodcoop_workgroup_path(workgroup), class: 'btn'