Skip to content

Commit

Permalink
Merge pull request #3224 from OfficeForProductSafetyAndStandards/fix/…
Browse files Browse the repository at this point in the history
…PSD-3804-ActionView_error_fix

fix/PSD-3804-ActionView_error_fix
  • Loading branch information
alan-at-work authored Oct 11, 2024
2 parents e5a2960 + 1daea7a commit 210bfbb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<% if @test_result_form.document.present? %>
<p id="current-attachment-details">
Currently selected file:
<%= link_to sanitize(@test_result_form.document.filename), @test_result_form.document, class: "govuk-link", target: "_blank", rel: "noreferrer noopener" %>
<%= link_to sanitize(@test_result_form.document.filename.to_s), @test_result_form.document, class: "govuk-link", target: "_blank", rel: "noreferrer noopener" %>
</p>
<%= f.hidden_field :document, value: @test_result_form.document.id %>
<%= govuk_details(summary_text: "Replace this file") do %>
Expand Down

0 comments on commit 210bfbb

Please sign in to comment.