Browse Source

lint

pull/2423/head
Kat 2 years ago committed by kosiakkatrina
parent
commit
7b9cef76dd
  1. 2
      app/views/filters/years.html.erb

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

@ -32,6 +32,6 @@
<div class="govuk-button-group"> <div class="govuk-button-group">
<%= f.govuk_submit "Save changes" %> <%= 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> </div>
<% end %> <% end %>

Loading…
Cancel
Save