How to include a form in a listing page? I am displaying a content information page. At the end of the content displaying page i need to display a form. 

How shall i do it?

What have I done?


Written a menu callback in hook_menu()
Written a method to collect the information
Registered a theme in hook_theme()
Written hook_preprocess_theme() to register variables
Created a template and assign the variables


By doing all the above, I am displaying the Content Information.

What do I need to do, to display a form at the end of the content?

I have done these thing.


Created a form in a function called content_form() (including logic)
Wrote a submission function (content_form_submit()).


My only todo left is displaying the form at the content information page.
The quick and dirty way to print a form defined by hook_form is to use the drupal_get_form function:

print render(drupal_get_form('content_form'));