Sha256: 8573955cb95ae577360de724d375fc98b0249df7f9f23e57a3d63f6c9fa6cdc0

Contents?: true

Size: 733 Bytes

Versions: 114

Compression:

Stored size: 733 Bytes

Contents

= content_for(:actions) do
  / Make sure when generating the PDF we pass in exactly the same params eg q and named_filter
  / An alternative to what we have used here is to use
  /   url_for(request.filtered_parameters&.merge({format: :pdf})
  / however this seems to loose the ransack sort option in  params[:q][:s]
  = link_to(renal_aki_alerts_path(q: params[:q]&.permit!, format: :pdf), class: "button secondary") do
    i.fas.fa-print
    | Print (PDF)

= content_for(:filters) do
  = render "filters", form: form, path_params: path_params

= within_admin_layout(title: "AKI Alerts") do
  = render "renalware/shared/please_print_using_print_button_warning"
  = render "table", alerts: alerts, search: search

  = paginate alerts

Version data entries

114 entries across 114 versions & 1 rubygems

Version Path
renalware-core-2.1.1 app/views/renalware/renal/aki_alerts/index.html.slim
renalware-core-2.1.0 app/views/renalware/renal/aki_alerts/index.html.slim
renalware-core-2.0.167 app/views/renalware/renal/aki_alerts/index.html.slim
renalware-core-2.0.166 app/views/renalware/renal/aki_alerts/index.html.slim
renalware-core-2.0.165 app/views/renalware/renal/aki_alerts/index.html.slim
renalware-core-2.0.164 app/views/renalware/renal/aki_alerts/index.html.slim
renalware-core-2.0.163 app/views/renalware/renal/aki_alerts/index.html.slim
renalware-core-2.0.162 app/views/renalware/renal/aki_alerts/index.html.slim
renalware-core-2.0.161 app/views/renalware/renal/aki_alerts/index.html.slim
renalware-core-2.0.160 app/views/renalware/renal/aki_alerts/index.html.slim
renalware-core-2.0.159 app/views/renalware/renal/aki_alerts/index.html.slim
renalware-core-2.0.158 app/views/renalware/renal/aki_alerts/index.html.slim
renalware-core-2.0.157 app/views/renalware/renal/aki_alerts/index.html.slim
renalware-core-2.0.156 app/views/renalware/renal/aki_alerts/index.html.slim
renalware-core-2.0.155 app/views/renalware/renal/aki_alerts/index.html.slim
renalware-core-2.0.153 app/views/renalware/renal/aki_alerts/index.html.slim
renalware-core-2.0.152 app/views/renalware/renal/aki_alerts/index.html.slim
renalware-core-2.0.151 app/views/renalware/renal/aki_alerts/index.html.slim
renalware-core-2.0.149 app/views/renalware/renal/aki_alerts/index.html.slim
renalware-core-2.0.148 app/views/renalware/renal/aki_alerts/index.html.slim