Skip to content

Commit

Permalink
Merge pull request #634 from bitzesty/los-typo
Browse files Browse the repository at this point in the history
Fix typo causing duplicate support letters
  • Loading branch information
TheDancingClown authored Dec 4, 2023
2 parents 369d1e8 + 9b28a4b commit 31c440f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/qae_form/_supporter_fields.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ li.js-add-example class="#{'read-only js-support-letter-received' if persisted}"
- url = users_form_answer_support_letter_path(form_answer_id: @form_answer.id, id: supporter["support_letter_id"])
- else
- url = "#"
= if current_user || policy(:support_letter).can_remove?
- if current_user || policy(:support_letter).can_remove?
= link_to "Remove", url, class: "govuk-button govuk-button--warning remove-supporter remove-link js-remove-link", data: { url: url }, 'aria-label' => "Delete support letter from #{supporter["first_name"]} #{supporter["last_name"]}"

0 comments on commit 31c440f

Please sign in to comment.