foodsoft/app/views/foodcoop/workgroups/_workgroup.html.haml

7 lines
319 B
Text
Raw Permalink Normal View History

%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'