refactor : Merge create- and edit- views