save-code-now: Extract the checkbox filtering into a js template
This will allow to reuse that filtering functionality inside the add-forge-now form as well. Incoming diff about this.
Related to T4011
Test Plan
tests ok manual check in docker
Migrated from D7427 (view on Phabricator)