From f55c74d7d77c22ee9d3466ccc1f7bd60be003c9e Mon Sep 17 00:00:00 2001 From: moveson Date: Fri, 20 Dec 2024 10:41:09 -0700 Subject: [PATCH] Improve service form preparation instructions and bump file size to 5 MB --- app/models/lotteries/entrant_service_detail.rb | 4 ++-- .../docs/visitors/_user_info_lotteries_1.html.erb | 11 +++++++++-- .../_upload_service_form_card.html.erb | 4 ++-- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/app/models/lotteries/entrant_service_detail.rb b/app/models/lotteries/entrant_service_detail.rb index bda11628c..16f08c3a4 100644 --- a/app/models/lotteries/entrant_service_detail.rb +++ b/app/models/lotteries/entrant_service_detail.rb @@ -7,8 +7,8 @@ class Lotteries::EntrantServiceDetail < ApplicationRecord has_one_attached :completed_form validates :completed_form, - content_type: { in: %w[image/png image/jpeg application/pdf], message: "must be a pdf, png, or jpeg file" }, - size: { less_than: 2.megabytes, message: "must be less than 2 megabytes" } + content_type: { in: %w[image/png image/jpeg application/pdf], message: "must be a pdf, jpeg, or png file" }, + size: { less_than: 5.megabytes, message: "must be less than 5 megabytes" } delegate :first_name, :last_name, :full_name, :organization, :lottery, to: :entrant diff --git a/app/views/docs/visitors/_user_info_lotteries_1.html.erb b/app/views/docs/visitors/_user_info_lotteries_1.html.erb index bd5e019b1..dfc60758b 100644 --- a/app/views/docs/visitors/_user_info_lotteries_1.html.erb +++ b/app/views/docs/visitors/_user_info_lotteries_1.html.erb @@ -40,6 +40,9 @@
  • Click the "Download" link to download a blank service form.
  • +

    The most efficient way to do this is to keep the PDF in electronic format, fill it out on your phone or + computer, sign it electronically, and then forward it on to the other person or people for their required signatures.

    +

    Alternatively, you may print the form, fill it out and sign it manually, and forward it on for other required signatures.


    @@ -50,7 +53,10 @@

    Once you have your service form completed and signed by all appropriate parties, here are the steps to upload the completed form:

      -
    1. Scan or take a photo of your completed form. The format must be jpeg, png, or pdf, and the file size must be less than 2 MB.
    2. +
    3. If your form is on paper, scan or take a photo of your completed form. If you've kept it in electronic format, then it should already be + good to go. In either case, the format must be pdf, jpeg, or png, and the file size must be less than 5 MB. PDF + is preferred because of the smaller file size. +
    4. <%= user_signed_in? ? @@ -58,7 +64,8 @@ link_to("Log in to OpenSplitTime", new_user_session_path, data: { turbo_frame: :form_modal }) %> - using the same account you used to download the form.
    5. + using the same account you used to download the form. +
    6. Navigate to your Manage Service page as described above, and find the card with the heading that says, "Upload Completed Service Form".
    7. Drag your completed service form to the dropzone area, or click/tap the area and browse to find your file.
    8. Click/tap the "Attach" button at the bottom of the card.
    9. diff --git a/app/views/lotteries/entrant_service_details/_upload_service_form_card.html.erb b/app/views/lotteries/entrant_service_details/_upload_service_form_card.html.erb index d97c81d71..c5c29f730 100644 --- a/app/views/lotteries/entrant_service_details/_upload_service_form_card.html.erb +++ b/app/views/lotteries/entrant_service_details/_upload_service_form_card.html.erb @@ -41,7 +41,7 @@
      "input" } %>

      Drag here to upload or click here to browse

      - 2 MB file size maximum. File must be a pdf, jpeg, or png file. + 5 MB file size maximum. File must be a pdf, jpeg, or png file.