genome/dgi-db

View on GitHub
app/views/genes/_category_results_table.html.haml

Summary

Maintainability
Test Coverage
.well
  %p
    %h3
      =title
      %small
        %strong
          %i.icon-flag.tip{title: tooltip_text}
    %small
      %strong
        %em
          =subtitle
  =render partial: 'shared/page_export'
  %table.table.table-striped.table-bordered{cellpadding: "0", cellspacing: "0", border: "0", id: export_id}
    %thead
      %tr
        %th
          Search Term
          %i.icon-flag.tip{title: tx("search_term_table_header_flag")}
        %th
          Gene
          %i.icon-flag.tip{title: tx("gene_table_header_flag")}
        %th
          Druggable Gene Category
          %i.icon-flag.tip{title: tx("category_table_header_flag")}
        %th
          Sources
          %i.icon-flag.tip{title: tx("source_table_header_flag")}
    %tbody
      =render partial: 'genes/category_results_table_row', collection: categories