From 74bd98229d60812bb3128037a8ba7288bdd6e08d Mon Sep 17 00:00:00 2001 From: Eternal Date: Mon, 20 Apr 2026 17:13:38 -0400 Subject: [PATCH 1/2] move privacy info to the top --- .../shared/verifications/_document_form.html.erb | 12 ++++++------ config/locales/en.yml | 3 ++- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/app/views/shared/verifications/_document_form.html.erb b/app/views/shared/verifications/_document_form.html.erb index 03601d07..a7afab65 100644 --- a/app/views/shared/verifications/_document_form.html.erb +++ b/app/views/shared/verifications/_document_form.html.erb @@ -25,6 +25,12 @@ <% end %> +
+

<%= t("verifications.document.privacy_info.review_time") %>

+

<%= t("verifications.document.privacy_info.privacy", link: link_to(t("verifications.document.privacy_info.here", "https://docs.google.com/document/d/1PmOWqMYRmhOiTnmJOdGeMYLvRpz1_yrOLR1RZFQu368/edit?tab=t.0", target: "_blank",rel: "noopener noreferrer")) %>

+

<%= t("verifications.document.privacy_info.purpose") %>

+
+ <%= form_with model: @document, url: local_assigns[:form_url], method: local_assigns[:form_method] || :post, local: true, multipart: true, html: { "x-data" => "{ selectedType: '#{ @document.document_type }', transcriptFileCount: 0, studentIdFileCount: 0, governmentIdFileCount: 0, get canSubmit() { return this.selectedType === 'transcript' ? (this.transcriptFileCount >= 1 && this.studentIdFileCount >= 1) : this.governmentIdFileCount >= 1; }, submitted: false }", @@ -139,12 +145,6 @@ -
-

<%= t("verifications.document.privacy_info.review_time") %>

-

<%= t("verifications.document.privacy_info.privacy") %>

-

<%= t("verifications.document.privacy_info.purpose") %>

-
-
<%= form.submit t("verifications.document.submit_documents"), ":disabled" => "!canSubmit", diff --git a/config/locales/en.yml b/config/locales/en.yml index 68247195..f8e6a814 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -636,7 +636,8 @@ en: uploading: Uploading your documents... privacy_info: review_time: "Review time: 1–2 business days" - privacy: "Privacy: Documents are encrypted and never shared with third parties. Access is limited to HCB staff during review, then core HQ staff for exceptional cases only." + privacy: "Privacy: Documents are encrypted and never shared with third parties. Access is limited to HCB staff during review, then core HQ staff for exceptional cases only. Read about how privacy is handled in more detail %{link}." + here: "here" purpose: "Purpose: Used only for age verification and preventing duplicate accounts." submit_documents: Submit Documents status: From 1614e763a7d6f88095271f7ba9f88c0eac4e7524 Mon Sep 17 00:00:00 2001 From: Eternal Date: Mon, 20 Apr 2026 17:17:58 -0400 Subject: [PATCH 2/2] silly me forgot a closing bracket --- app/views/shared/verifications/_document_form.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/shared/verifications/_document_form.html.erb b/app/views/shared/verifications/_document_form.html.erb index a7afab65..9952fbc9 100644 --- a/app/views/shared/verifications/_document_form.html.erb +++ b/app/views/shared/verifications/_document_form.html.erb @@ -27,7 +27,7 @@

<%= t("verifications.document.privacy_info.review_time") %>

-

<%= t("verifications.document.privacy_info.privacy", link: link_to(t("verifications.document.privacy_info.here", "https://docs.google.com/document/d/1PmOWqMYRmhOiTnmJOdGeMYLvRpz1_yrOLR1RZFQu368/edit?tab=t.0", target: "_blank",rel: "noopener noreferrer")) %>

+

<%= t("verifications.document.privacy_info.privacy", link: link_to(t("verifications.document.privacy_info.here", "https://docs.google.com/document/d/1PmOWqMYRmhOiTnmJOdGeMYLvRpz1_yrOLR1RZFQu368/edit?tab=t.0", target: "_blank",rel: "noopener noreferrer"))) %>

<%= t("verifications.document.privacy_info.purpose") %>