Sha256: 0b3893f923734cb060294fd030d863c9653221e0d403c995786c287424457b0a

Contents?: true

Size: 441 Bytes

Versions: 52

Compression:

Stored size: 441 Bytes

Contents

- named_filter_param = params[:named_filter]

dl.sub-nav.filters
  dd(class=("active" unless named_filter_param.present?))
     = link_to t(".filter.all"), low_clearance_mdm_patients_path
  - Renalware::LowClearance::MDM_FILTERS.map(&:to_sym).each do |filter|
    dd(class=("active" if named_filter_param == filter.to_s))
      = link_to t(".filter.#{filter}"),
                low_clearance_filtered_mdm_patients_path(named_filter: filter)

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
renalware-core-2.0.46 app/views/renalware/low_clearance/mdm_patients/_filters.html.slim
renalware-core-2.0.45 app/views/renalware/low_clearance/mdm_patients/_filters.html.slim
renalware-core-2.0.44 app/views/renalware/low_clearance/mdm_patients/_filters.html.slim
renalware-core-2.0.43 app/views/renalware/low_clearance/mdm_patients/_filters.html.slim
renalware-core-2.0.42 app/views/renalware/low_clearance/mdm_patients/_filters.html.slim
renalware-core-2.0.41 app/views/renalware/low_clearance/mdm_patients/_filters.html.slim
renalware-core-2.0.40 app/views/renalware/low_clearance/mdm_patients/_filters.html.slim
renalware-core-2.0.39 app/views/renalware/low_clearance/mdm_patients/_filters.html.slim
renalware-core-2.0.38 app/views/renalware/low_clearance/mdm_patients/_filters.html.slim
renalware-core-2.0.37 app/views/renalware/low_clearance/mdm_patients/_filters.html.slim
renalware-core-2.0.36 app/views/renalware/low_clearance/mdm_patients/_filters.html.slim
renalware-core-2.0.35 app/views/renalware/low_clearance/mdm_patients/_filters.html.slim
renalware-core-2.0.34 app/views/renalware/low_clearance/mdm_patients/_filters.html.slim
renalware-core-2.0.33 app/views/renalware/low_clearance/mdm_patients/_filters.html.slim
renalware-core-2.0.32 app/views/renalware/low_clearance/mdm_patients/_filters.html.slim
renalware-core-2.0.31 app/views/renalware/low_clearance/mdm_patients/_filters.html.slim
renalware-core-2.0.30 app/views/renalware/low_clearance/mdm_patients/_filters.html.slim
renalware-core-2.0.28 app/views/renalware/low_clearance/mdm_patients/_filters.html.slim
renalware-core-2.0.27 app/views/renalware/low_clearance/mdm_patients/_filters.html.slim
renalware-core-2.0.26 app/views/renalware/low_clearance/mdm_patients/_filters.html.slim