Sha256: 42c3c666d13b02c9c40e64175d6908868390a5e8b9387bd06b7c0b5e4f9e6acf

Contents?: true

Size: 867 Bytes

Versions: 17

Compression:

Stored size: 867 Bytes

Contents

-#.filter.ui.wrap.button
= reveal :filter, id, :class => 'ui compact button filter' do
  - if @filter
    - filter_values = Hash[*@filter.split(";;").collect{|f| f.split("~")}.flatten]
  - else
    - filter_values = {}

  .filters()
    = action_parameters nil, :class => 'filter_controls' do
      - header.each do |field|
        - input field, :string, "Filter for #{ field }", filter_values[field]

  :markdown
    Filters can be specified in several ways:

      - *String of text*: perfect match (e.g. `Cancer`)
      - *Regular expression*: flexible match (e.g. `/(bladder|breast)\s+cancer/i`)
      - *Numeric comparison*: lower of grater than (e.g. `< 0.1` or `>= 2`)
      - *Names*: for entities with names, such as genes or pathways; regular expression accepted (e.g. `:name: SF3B1` or `:name: /CDK\d/`)
      - *Length*: for lists (e.g. `:length: > 2`)

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
rbbt-rest-1.6.26 share/views/partials/table/filters.haml
rbbt-rest-1.6.25 share/views/partials/table/filters.haml
rbbt-rest-1.6.24 share/views/partials/table/filters.haml
rbbt-rest-1.6.23 share/views/partials/table/filters.haml
rbbt-rest-1.6.22 share/views/partials/table/filters.haml
rbbt-rest-1.6.21 share/views/partials/table/filters.haml
rbbt-rest-1.6.20 share/views/partials/table/filters.haml
rbbt-rest-1.6.19 share/views/partials/table/filters.haml
rbbt-rest-1.6.18 share/views/partials/table/filters.haml
rbbt-rest-1.6.17 share/views/partials/table/filters.haml
rbbt-rest-1.6.16 share/views/partials/table/filters.haml
rbbt-rest-1.6.15 share/views/partials/table/filters.haml
rbbt-rest-1.6.14 share/views/partials/table/filters.haml
rbbt-rest-1.6.13 share/views/partials/table/filters.haml
rbbt-rest-1.6.12 share/views/partials/table/filters.haml
rbbt-rest-1.6.11 share/views/partials/table/filters.haml
rbbt-rest-1.6.10 share/views/partials/table/filters.haml