Factor new issue and edit MR forms.
Merge pull request #7678 from cirosantilli/factor-new-issue-edit-mr

Factor new issue and edit MR forms.