foodsoft/app/views/admin/workgroups/show.html.haml
2013-02-04 00:36:03 +07:00

6 lines
No EOL
349 B
Text

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