Refactoring the views to create and edit a question