Skip to content

Commit

Permalink
Update copy for non-JS version
Browse files Browse the repository at this point in the history
  • Loading branch information
Lubosky committed Jul 17, 2024
1 parent 061b89c commit 8cbf172
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 21 deletions.
12 changes: 8 additions & 4 deletions app/views/form/support_letters/_form.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,22 @@

ul.list-add.supporters-list
= f.simple_fields_for :support_letters do |ff|
- idx = ff.options[:child_index] + 1
li
.govuk-grid-row
.govuk-grid-column-one-half
= ff.input :first_name, input_html: { class: "form-control" }
= ff.input :last_name, input_html: { class: "form-control" }
= ff.input :relationship_to_nominee, input_html: { class: "form-control" }
label[class="govuk-label"]
span[class="govuk-body govuk-!-font-size-20 govuk-!-font-weight-bold govuk-!-display-block"]
= "Letter of Support #{idx}"
= ff.input :first_name, label: "First Name:", input_html: { class: "form-control" }
= ff.input :last_name, label: "Surname:", input_html: { class: "form-control" }
= ff.input :relationship_to_nominee, label: "Relationship to Group:", input_html: { class: "form-control" }

= ff.input :manual, as: :hidden, input_html: { value: true }
= ff.input :user_id, as: :hidden, input_html: { value: current_user.id }

= ff.simple_fields_for :support_letter_attachment, (ff.object.support_letter_attachment || ff.object.build_support_letter_attachment) do |fff|
= fff.input :attachment, as: :file, label: "Support letter", input_html: { class: "form-control" }, wrapper_html: { style: "margin-bottom: -1rem;" }
= fff.input :attachment, as: :file, label: "Upload Letter of Support #{idx}", input_html: { class: "form-control" }, wrapper_html: { style: "margin-bottom: -1rem;" }
p.govuk-body.support-letter-attachment-filename
= render "shared/attachment_with_virus_check_status", item: fff.object, mount_name: :attachment

Expand Down
29 changes: 12 additions & 17 deletions forms/award_years/v2025/qavs/qavs_step3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,18 @@ def qavs_step3
supporters :supporter_letters_list, "" do
ref "C 1"
context %(
<p class='govuk-hint'><a href="https://kavs.dcms.gov.uk/make-a-nomination/nominate/">Before you start, please refer to our full guidance for letters of support as outlined on our website.</a></p>
<p class='govuk-hint'>Please obtain two different letters that endorse the nominated group's contribution from people who are familiar with its work.</p>
<p class='govuk-hint'>
Supporters must not be volunteers or paid workers in the group. Each letter should be no more than 500 words. The letters should be about the whole group, rather than just one volunteer and should help to show how its work is outstanding.
</p>
<p class='govuk-hint'>Please list below the names of the supporters and their relationship (if any) to the group.</p>
)
hint "What are the allowed file formats?", %(
<p class='govuk-hint'>
Letter of support must be no larger than 5 MB.
</p>
<p class='govuk-hint'>
They can be:
<br>
Images in jpg, jpeg and png formats;
<br>
Files in doc, docx, odt, pdf and txt formats.
<p class='govuk-body'>Letters of support are an essential part of your nomination, as they help to clarify and explain the impact of the nominated group’s work in the local community. You will need to provide 2 letters of support alongside your nomination.</p>
<p class='govuk-body'>For more information on what letters can cover, please see the <a href="https://kavs.dcms.gov.uk/make-a-nomination/letters-of-support/" target="_blank">Letters of Support page</a> on our website.</p>
<p class='govuk-body'>Key criteria:</p>
<ol class='govuk-list govuk-list--number'>
<li>letters must be written by individuals who are familiar with the group’s work, for example: a beneficiary, local resident or member of a partner charity</li>
<li>letters must not be written by a volunteer, employee, trustee, or anyone involved in the running of the group</li>
<li>letters written by the nominator will be ineligible</li>
<li>each letter should be no more than 500 words</li>
<li>only 2 letters of support can be submitted</li>
</ol>
<p class='govuk-body'>For each letter uploaded below, please note the letter writer’s relationship to the group, for example: a beneficiary of the group, local resident or member of a partner charity.</p>
<p class='govuk-body'><strong>Once uploaded, all files are saved automatically. If you make a mistake and upload the wrong letter, please use the same button to upload the correct file as it will automatically replace the previous version.</strong></p>
)
classes "question-support-uploads"
limit 2
Expand Down

0 comments on commit 8cbf172

Please sign in to comment.