Update in add,edit views (admin)

Some views generated by the shell in admin have only one input field  'name' we need in order to generate fields according to the db table we can execute a query 'DESCRIBE....' in generate_shell in order to get informations about fields for a specific model , also we can do the same thing in admin_controller to display for exemple 3 first column in the view that contain rows...