finish layout of create page and make template for view. make flags be auto loading by js, so we can just maintain flags files by js instead of html tag