% content_for :title, "Download CSV" %> <% content_for :before_content do %> <%= govuk_back_link(href: :back) %> <% end %>
We'll send a secure download link to your email address <%= @current_user.email %>.
You've selected <%= count %> logs.
<%= govuk_button_to "Send email", post_path, method: :post, params: { search: search_term, codes_only: } %>