= render 'shared/filter', filter_form: 'company/locations/filter', class: 'with-margin' .container-fluid.content-wrapper .panel.panel-grid.panel-default .panel-body style=("padding:10px !important;") .row .col-sm-12 .col-sm-6 h4.pull-left.pl8.text-upper-grey Sites .col-sm-6 .pull-right - if @company.vendor? = link_to new_company_location_path, class: 'btn btn-primary' do = fa_icon :plus, text: 'Create New Site' - if ReportSetting.enabled?(@company, :sites, :xlsx) = link_to company_locations_path({format: :xlsx}.merge!(params.slice(:q).permit!.to_unsafe_h)), class: 'btn btn-primary ml10', target: :_blank do = fa_icon :'file-excel-o' .panel.panel-grid.panel-default .panel-body .row .col-md-6.grid-header h4 .col-md-6.grid-header.text-right a.btn.btn-primary href="javascript:void(0);" View All .table-responsive #locations-list-holder = render 'locations_list', sites: @sites #delete-confirm-dialog-location.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-location' data-resource-url="/company/locations" Yes .col-sm-6 button.btn.btn-primary.btn-medium data-dismiss="modal" type="button" No