Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Factor new issue and edit MR forms. #7678
There was a lot of code duplication here.
There is also a third copy which has diverged more and which we should DRY out as well: the new MR form. It probably has the best visual style of the three and should be the one to copy. Opened an issue for that at: https://github.com/gitlabhq/gitlabhq/issues/7679 so we won't forget.
The issue edit and new were already factored.
Minor visible changes:
I cannot see any other behavior / UI changes.
TODO in future merge requests: DRY those forms even further on the points they diverged more:
Found using https://github.com/UncleGene/flay-haml