= render 'shared/filter', filter_form: 'company/company_materials/filter', class: 'with-margin' .container-fluid .panel.panel-grid.panel-default.mt10 .panel-body .row.p10 .col-md-6 h4.margintop10.text-upper-grey Company Materials .col-md-6 .pull-right = link_to 'Create New Material', '#', class: 'btn btn-primary no-action', data: {toggle: :modal, target: '#materialTypeSelection'} .clearfix = render 'material_list', company_materials: @company_materials #delete-confirm-dialog-company-material.modal.fade role="dialog" aria-hidden="true" data-backdrop="static" .modal-dialog.modal-md .modal-content.min-ht250 button.close.p10 type="button" data-dismiss="modal" i.fa.fa-times .p40 p.bold.fs20.center | Are you sure you want to delete? p.center.mt20.grey | Please confirm the action you are about to execute .row.center.mt20 .col-sm-6 button#delete.btn.btn-primary.btn-medium type="button" data-role='delete_resource' data-modal-id='#delete-confirm-dialog-company-material' data-resource-url = bulk_destroy_company_company_materials_path Yes .col-sm-6 button.btn.btn-primary.btn-medium data-dismiss="modal" type="button" No = render 'material_type_selection_modal'