Fix `LFS enabled` select box.
A refactor of the project edit page caused the lfs_enabled
setting to be reverted to a non functioning state. This MR fixes that.
This will most likely need to be ported back to 8.13 and 8.14. 8.12 contained the correct code.
Fixes #24645 (closed)
Related commits: