Sha256: 0a0a7e71a6e8e538d4e853e86de9b3baee354f6fca13df524883703fec076b34

Contents?: true

Size: 435 Bytes

Versions: 114

Compression:

Stored size: 435 Bytes

Contents

- named_filter_param = params[:named_filter]

dl.sub-nav.filters
  dd(class=("active" unless named_filter_param.present?))
     = link_to t(".tab.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(".tab.#{filter}"),
                low_clearance_filtered_mdm_patients_path(named_filter: filter)

Version data entries

114 entries across 114 versions & 1 rubygems

Version Path
renalware-core-2.0.127 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.126 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.125 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.124 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.123 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.121 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.120 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.119 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.118 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.117 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.116 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.115 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.113 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.112 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.111 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.110 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.109 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.108 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.106 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.105 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim