Disable project template button if user clicks on "Repo by URL"
A user got scared when he thought we imported someone else's code. Here's how to reproduce:
- Click on New project.
- Click on "Rails template".
- Click on "Repo by URL"
- Fill in a URL and click "Create project"
What happens is that the import pulls in the project template bundle and doesn't bother with fetching from the specified URL. We should:
- Disable the Rails template button if the user clicks on Repo by URL
- Ensure the form submit always sends an unambiguous request (backend shouldn't have to "guess" which direction, but maybe it should send a warning)
ZD: https://gitlab.zendesk.com/agent/tickets/83447
/cc: @timzallmann, @sarrahvesselov, @DouweM, @lbot