.license-page.trade-page h1 | LICENSES = link_to new_company_license_path, data: {toggle: 'emodal', title: 'New License', 'modal-id': 'new_license_emodal'}, class: 'btn btn-primary pull-right' do span NEW license .tabel-trade-hoder .btn-group.marginbot10.hide = link_to 'Archive', '#', class: 'btn btn-archive', id: "license-archive-link", data: {url: archive_company_licenses_path} = link_to 'Delete', '#', class: 'btn btn-archive', id: 'license-delete-link', data: {url: delete_company_licenses_path} table.table.tabel-license cellpadding="0" cellspacing="0" thead th input#select-all name="select-all" type="checkbox" th License Name th Code th Person the License is Issued to th Number th Classifications th Expires On th Issue Date th Action - @licenses.each do |license| tr class="license-pannel" id= "license-#{license.id}" = render 'company/licenses/license', license: license .text-right.hide ol.breadcrumb li.active = link_to 'active', company_licenses_path(active: true), remote: true li = link_to 'archived', company_licenses_path(archived: true), remote: true li = link_to 'deleted', company_licenses_path(deleted: true), remote: true #add_new_license_modal