Sha256: 6f100c69a3a8aef7b08d8454913a46af30bd3ceb122948b8e1ad95bba1e425e6
Contents?: true
Size: 704 Bytes
Versions: 3
Compression:
Stored size: 704 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.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
3 entries across 3 versions & 1 rubygems