This is an automated email from the ASF dual-hosted git repository.

clr pushed a commit to branch clr-apache-invalids
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/clr-apache-invalids by this 
push:
     new dc62343d Update parts.js.rb
dc62343d is described below

commit dc62343dea4f12e25d6ce7c322a8c9921fe449ad
Author: Craig L Russell <[email protected]>
AuthorDate: Fri Feb 6 10:18:43 2026 -0800

    Update parts.js.rb
    
    Add employee or grant
---
 www/secretary/workbench/views/parts.js.rb | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/www/secretary/workbench/views/parts.js.rb 
b/www/secretary/workbench/views/parts.js.rb
index cf42885f..46d9d757 100644
--- a/www/secretary/workbench/views/parts.js.rb
+++ b/www/secretary/workbench/views/parts.js.rb
@@ -19,6 +19,7 @@ class Parts < Vue
     @invalid_public = false
     @invalid_language = false
     @invalid_form = false
+    @employee_or_grant = false
     @separate_signature = false
     @unauthorized_signature = false
     @empty_form = false
@@ -212,6 +213,7 @@ class Parts < Vue
             _input type: 'hidden', name: 'invalid_public', value: 
@invalid_public
             _input type: 'hidden', name: 'invalid_language', value: 
@invalid_language
             _input type: 'hidden', name: 'invalid_form', value: @invalid_form
+            _input type: 'hidden', name: 'employee_or_grant', value: 
@employee_or_grant
             _input type: 'hidden', name: 'separate_signature', value: 
@separate_signature
             _input type: 'hidden', name: 'unauthorized_signature', value: 
@unauthorized_signature
             _input type: 'hidden', name: 'empty_form', value: @empty_form
@@ -319,6 +321,13 @@ class Parts < Vue
                   _span ' invalid form filler'
                 end
               end
+              _li do
+                _label do
+                  _input type: 'checkbox', checked: @employee_or_grant,
+                  onClick: -> {@employee_or_grant = !@employee_or_grant}
+                  _span ' employee or grant is needed'
+                end
+              end
               _li do
                 _label do
                   _input type: 'checkbox', checked: @separate_signature,

Reply via email to