foodcoop-adam/foodsoft

View on GitHub
app/views/admin/workgroups/show.html.haml

Summary

Maintainability
Test Coverage
- title t '.title', name: @workgroup.name

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