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.62 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.61 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.60 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.58 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.57 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.56 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.55 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.54 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.53 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.52 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.51 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.50 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.48 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim
renalware-core-2.0.47 app/views/renalware/low_clearance/mdm_patients/_tabs.html.slim