.row.content_area .col-md-12 = link_to 'Create Mobile App', new_admin_mobile_app_path, class: 'btn btn-success pull-right' h1.page-title span.fa.fa-mobile | Mobile App .row.content_area .col-md-12 - if @mobile_apps.any? = content_tag :table, class: 'table table-striped', id: 'mobile_apps_list' do tr = content_tag :th, sort_link(@q, :id, 'ID') = content_tag :th, sort_link(@q, :platform) = content_tag :th, 'App' = content_tag :th, 'Version' = content_tag :th, '' = content_tag :th, '' = content_tag :th, '' - @mobile_apps.each do |mobile_app| tr id=dom_id(mobile_app) td= link_to "##{mobile_app.id}", admin_mobile_apps_path(mobile_app) td= mobile_app.platform td= mobile_app.app_id td= mobile_app.latest_version&.version td= mobile_app.latest_version&.force_update ? 'Yes' : '' td= link_to 'Versions', admin_mobile_app_app_versions_path(mobile_app), class: 'btn btn-default btn-sm' td= link_to edit_admin_mobile_app_path(mobile_app), title: 'edit' i.fa.fa-pencil-square-o.message-edit td = link_to raw(''), admin_mobile_app_path(mobile_app), method: :delete, data: {confirm: 'Are you sure ?'}, class: '', title: "Delete" = paginate @mobile_apps - else i Sorry, no results found.