changed to form view and added validation rules
Added more form view and tables for detail page