Sha256: eb8da476803490639604aa959df1f682512712bab382028686800f1883853fbc

Contents?: true

Size: 713 Bytes

Versions: 16

Compression:

Stored size: 713 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_filtered_aki_alerts_path(q: params[:q]&.permit!, format: :pdf), class: "button secondary") do
    i.fa.fa-print
    | Print (PDF)

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

  = paginate alerts

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
renalware-core-2.0.41 app/views/renalware/renal/aki_alerts/index.html.slim
renalware-core-2.0.40 app/views/renalware/renal/aki_alerts/index.html.slim
renalware-core-2.0.39 app/views/renalware/renal/aki_alerts/index.html.slim
renalware-core-2.0.38 app/views/renalware/renal/aki_alerts/index.html.slim
renalware-core-2.0.37 app/views/renalware/renal/aki_alerts/index.html.slim
renalware-core-2.0.36 app/views/renalware/renal/aki_alerts/index.html.slim
renalware-core-2.0.35 app/views/renalware/renal/aki_alerts/index.html.slim
renalware-core-2.0.34 app/views/renalware/renal/aki_alerts/index.html.slim
renalware-core-2.0.33 app/views/renalware/renal/aki_alerts/index.html.slim
renalware-core-2.0.32 app/views/renalware/renal/aki_alerts/index.html.slim
renalware-core-2.0.31 app/views/renalware/renal/aki_alerts/index.html.slim
renalware-core-2.0.30 app/views/renalware/renal/aki_alerts/index.html.slim
renalware-core-2.0.28 app/views/renalware/renal/aki_alerts/index.html.slim
renalware-core-2.0.27 app/views/renalware/renal/aki_alerts/index.html.slim
renalware-core-2.0.26 app/views/renalware/renal/aki_alerts/index.html.slim
renalware-core-2.0.25 app/views/renalware/renal/aki_alerts/index.html.slim