Browse Source

lint

pull/2403/head
Kat 2 years ago committed by kosiakkatrina
parent
commit
1f59234723
  1. 2
      app/views/filters/years.html.erb

2
app/views/filters/years.html.erb

@ -32,6 +32,6 @@
<div class="govuk-button-group">
<%= f.govuk_submit "Save changes" %>
<%= govuk_button_link_to "Cancel", params["referrer"] == "check_answers" ? send("csv_download_#{@filter_type}_path", search: request.params["search"], codes_only: request.params["codes_only"]) : send("#{@filter_type}_path"), secondary: true %>
<%= govuk_button_link_to "Cancel", params["referrer"] == "check_answers" ? send("csv_download_#{@filter_type}_path", search: request.params["search"], codes_only: request.params["codes_only"]) : send("#{@filter_type}_path"), secondary: true %>
</div>
<% end %>

Loading…
Cancel
Save