added a button to new_admin_conference_path at admin/organizations#index

This commit is contained in:
Situ William 2018-04-12 13:18:50 -04:00 committed by Stella Rouzi
parent 76482327b7
commit e29931b8c3

View file

@ -36,3 +36,4 @@
method: :get, class: 'btn btn-primary'
= link_to 'Delete', admin_organization_path(organization),
method: :delete, class: 'btn btn-danger', data: { confirm: "Warning: This will delete #{organization.name} and all its data which includes data for all conferences within #{organization.name}. Do you really want to continue?" }
= link_to 'Add Conference', new_admin_conference_path, method: :get, class: 'btn btn-info'