.companies-list-wrapper.mt20 - if @priorities.present? table.table.table-bordered thead th Priority th Actions tbody - @priorities.each do |priority| tr td= priority.priority_type td = link_to 'Edit', edit_admin_priority_path(priority.id), remote: true |    = link_to 'Delete', admin_priority_path(priority.id), method: :delete .row .col-sm-12 .pull-left = link_to 'Add Priority', new_admin_priority_path, remote: true, class: 'btn btn-success' = paginate @priorities - else = link_to 'Add Priority', new_admin_priority_path, remote: true, class: 'btn btn-success' #priority_modal