Skip to content

Commit 28338c3

Browse files
authored
Merge pull request #2830 from DFE-Digital/AQTS-1125-fi-upload-response-does-not-show-translation
[AQTS-1125] Ensure uploaded translated documents are displayed for FI responses
2 parents 07b2351 + 4aeec85 commit 28338c3

File tree

1 file changed

+2
-1
lines changed
  • app/views/assessor_interface/further_information_requests

1 file changed

+2
-1
lines changed

app/views/assessor_interface/further_information_requests/edit.html.erb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
<% end %>
3333

3434
<% if item[:applicant_upload_response] %>
35-
<%= document_link_to(item.fetch(:applicant_upload_response)) %>
35+
<% applicant_upload_response = item.fetch(:applicant_upload_response) %>
36+
<%= document_link_to(applicant_upload_response, translated: applicant_upload_response.translated_uploads.any?) %>
3637
<% end %>
3738

3839
<h3 class="govuk-heading-s govuk-!-margin-bottom-2">Further information request</h3>

0 commit comments

Comments
 (0)