#modal-window.modal.fade tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-backdrop="static" .modal-dialog.modal-lg .modal-content .modal-header button.close type="button" data-dismiss="modal" |× label.modal-title .modal-body .trade-page h1 | MATERIAL = link_to new_company_material_path, remote: true, class: 'btn btn-primary pull-right' do span NEW MATERIAL .tabel-trade-hoder .btn-group.marginbot10 = link_to 'Archive', '#', class: 'btn btn-archive', id: "material-archive-link", data: {url: archive_company_materials_path} = link_to 'Delete', '#', class: 'btn btn-archive', id: 'material-delete-link', data: {url: delete_company_materials_path} table.table.tabel-trade cellpadding="0" cellspacing="0" thead th input#select-all name="select-all" type="checkbox" th Material Name th Description th Billable? th Rate($) th - @materials.each do |material| tr class="material-pannel" id= "material-#{material.id}" td = check_box_tag 'material', material.id, false td = material.name td = material.description td = material.billable td = material.rate td = link_to 'edit', edit_company_material_path(material), remote: true .text-right ol.breadcrumb li.active = link_to 'active', company_materials_path(active: true), remote: true li = link_to 'archived', company_materials_path(archived: true), remote: true li = link_to 'deleted', company_materials_path(deleted: true), remote: true #add_new_material_modal