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.1.1 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.1.0 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.167 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.166 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.165 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.164 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.163 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.162 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.161 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.160 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.159 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.158 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.157 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.156 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.155 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.153 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.152 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.151 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.149 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.148 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim