Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions app/views/shared/verifications/_document_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@
</div>
<% end %>

<section class="section-card privacy-section">
<p><strong><%= t("verifications.document.privacy_info.review_time") %></strong></p>
<p><strong><%= 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"))) %> </strong></p>
<p><strong><%= t("verifications.document.privacy_info.purpose") %></strong></p>
</section>

<%= 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 }",
Expand Down Expand Up @@ -139,12 +145,6 @@
</div>
</section>

<section class="section-card privacy-section">
<p><strong><%= t("verifications.document.privacy_info.review_time") %></strong></p>
<p><strong><%= t("verifications.document.privacy_info.privacy") %></strong></p>
<p><strong><%= t("verifications.document.privacy_info.purpose") %></strong></p>
</section>

<div class="form-actions">
<%= form.submit t("verifications.document.submit_documents"),
":disabled" => "!canSubmit",
Expand Down
3 changes: 2 additions & 1 deletion config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading