Skip to content

Commit

Permalink
Allow admins to edit letters of support
Browse files Browse the repository at this point in the history
https://app.asana.com/0/1199154381249427/1203411987771110/f
Remove deadline condition for removing letters of support
  • Loading branch information
TheDancingClown committed Nov 30, 2023
1 parent 5d25181 commit b67ec0f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/views/qae_form/_supporter_fields.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,4 @@ li.js-add-example class="#{'read-only js-support-letter-received' if persisted}"
- else
- url = "#"

- if submission_deadline.trigger_at >= Time.zone.now
= 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"]}"
= 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 b67ec0f

Please sign in to comment.