From 573025865e2cf5c709d65598e5db1a33ec239a86 Mon Sep 17 00:00:00 2001 From: Craig L Russell Date: Wed, 16 Sep 2026 16:26:34 -0700 Subject: [PATCH 1/2] Update incomplete.json.rb Change postal to residence to agree with ICLA form --- www/secretary/workbench/views/actions/incomplete.json.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/secretary/workbench/views/actions/incomplete.json.rb b/www/secretary/workbench/views/actions/incomplete.json.rb index b875a3ee6d..76aede176a 100644 --- a/www/secretary/workbench/views/actions/incomplete.json.rb +++ b/www/secretary/workbench/views/actions/incomplete.json.rb @@ -13,10 +13,10 @@ # The keys below must agree with the checkbox names in parts.js.rb REASONS = { - '@missing_address' => 'missing or incomplete postal address (must include street, building, unit/apartment)', + '@missing_address' => 'missing or incomplete residence address (must include street, building, unit/apartment)', '@missing_email' => 'missing email address', '@wrong_email' => 'email address shown in the ICLA must agree with the sender', - '@corporate_postal' => 'the postal address does not appear to be a personal residence address', + '@corporate_residence' => 'the residence address does not appear to be a personal residence address', '@invalid_public' => 'the public name should be a real name or pen name and not a user id', '@invalid_name' => 'as this is a legal document, your full legal name is required', '@invalid_language' => 'the form must contain only English', From 6d65d7843e327ea86bf95343124507ecda8fbca5 Mon Sep 17 00:00:00 2001 From: Craig L Russell Date: Wed, 16 Sep 2026 17:04:06 -0700 Subject: [PATCH 2/2] Update parts.js.rb --- www/secretary/workbench/views/parts.js.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/www/secretary/workbench/views/parts.js.rb b/www/secretary/workbench/views/parts.js.rb index 6569b11001..0e6abac0c5 100644 --- a/www/secretary/workbench/views/parts.js.rb +++ b/www/secretary/workbench/views/parts.js.rb @@ -15,7 +15,7 @@ def initialize @missing_address = false @missing_email = false @wrong_email = false - @corporate_postal = false + @corporate_residence = false @invalid_public = false @invalid_name = false @invalid_language = false @@ -213,7 +213,7 @@ def render _input type: 'hidden', name: 'missing_address', value: @missing_address _input type: 'hidden', name: 'missing_email', value: @missing_email _input type: 'hidden', name: 'wrong_email', value: @wrong_email - _input type: 'hidden', name: 'corporate_postal', value: @corporate_postal + _input type: 'hidden', name: 'corporate_residence', value: @corporate_residence _input type: 'hidden', name: 'invalid_public', value: @invalid_public _input type: 'hidden', name: 'invalid_name', value: @invalid_name _input type: 'hidden', name: 'invalid_language', value: @invalid_language @@ -302,9 +302,9 @@ def render end _li do _label do - _input type: 'checkbox', checked: @corporate_postal, - onClick: -> {@corporate_postal = !@corporate_postal} - _span ' corporate postal address' + _input type: 'checkbox', checked: @corporate_residence, + onClick: -> {@corporate_residence = !@corporate_residence} + _span ' corporate residence address' end end _li do