base view for create