Added method to generate create form