foodsoft/app/views/admin/workgroups/show.html.haml

7 lines
354 B
Text
Raw Normal View History

2013-02-03 18:36:03 +01:00
- title t '.title', name: @workgroup.name
2013-02-03 18:36:03 +01:00
%section= render 'shared/group', group: @workgroup
= link_to t('ui.edit'), edit_admin_workgroup_path(@workgroup), class: 'btn'
= link_to t('ui.delete'), [:admin, @workgroup], :confirm => t('.confirm'), :method => :delete, class: 'btn btn-danger'
= link_to_new_message(message_params: {group_id: @workgroup.id})