Sha256: ac391493a4ba6adc5a212f8b8b0cc9263673c9ced1462f8b8fd6997176e30d6b

Contents?: true

Size: 391 Bytes

Versions: 114

Compression:

Stored size: 391 Bytes

Contents

- named_filter_param = params[:named_filter]

dl.sub-nav
  dd(class=("active" unless named_filter_param.present?))
     = link_to t(".tab.all"), transplants_mdm_patients_path
  - %i(on_worryboard recent past_year).each do |filter|
    dd(class=("active" if named_filter_param == filter.to_s))
      = link_to t(".tab.#{filter}"), transplants_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/transplants/mdm_patients/_tabs.html.slim
renalware-core-2.1.0 app/views/renalware/transplants/mdm_patients/_tabs.html.slim
renalware-core-2.0.167 app/views/renalware/transplants/mdm_patients/_tabs.html.slim
renalware-core-2.0.166 app/views/renalware/transplants/mdm_patients/_tabs.html.slim
renalware-core-2.0.165 app/views/renalware/transplants/mdm_patients/_tabs.html.slim
renalware-core-2.0.164 app/views/renalware/transplants/mdm_patients/_tabs.html.slim
renalware-core-2.0.163 app/views/renalware/transplants/mdm_patients/_tabs.html.slim
renalware-core-2.0.162 app/views/renalware/transplants/mdm_patients/_tabs.html.slim
renalware-core-2.0.161 app/views/renalware/transplants/mdm_patients/_tabs.html.slim
renalware-core-2.0.160 app/views/renalware/transplants/mdm_patients/_tabs.html.slim
renalware-core-2.0.159 app/views/renalware/transplants/mdm_patients/_tabs.html.slim
renalware-core-2.0.158 app/views/renalware/transplants/mdm_patients/_tabs.html.slim
renalware-core-2.0.157 app/views/renalware/transplants/mdm_patients/_tabs.html.slim
renalware-core-2.0.156 app/views/renalware/transplants/mdm_patients/_tabs.html.slim
renalware-core-2.0.155 app/views/renalware/transplants/mdm_patients/_tabs.html.slim
renalware-core-2.0.153 app/views/renalware/transplants/mdm_patients/_tabs.html.slim
renalware-core-2.0.152 app/views/renalware/transplants/mdm_patients/_tabs.html.slim
renalware-core-2.0.151 app/views/renalware/transplants/mdm_patients/_tabs.html.slim
renalware-core-2.0.149 app/views/renalware/transplants/mdm_patients/_tabs.html.slim
renalware-core-2.0.148 app/views/renalware/transplants/mdm_patients/_tabs.html.slim