Invite members modal - old form is shown when "member lock" is enabled
When member lock is enabled the old invite members form is shown instead of the new invite members modal buttons.
Steps to reproduce
- Create a group
- Create a project in the group
- Navigate to "Group" -> "Settings" -> "General" -> "Permissions, LFS, 2FA"
- Check "Prevent adding new members to project membership within this group" setting
What is the current bug behavior?
Old invite members form is shown
What is the expected correct behavior?
Only the "Invite groups" button should be shown
Relevant logs and/or screenshots
With "members lock" disabled
With "members lock" enabled
Something wrong with this conditional app/views/projects/project_members/index.html.haml#L35