<?php
/**
 * To improve readability, form template is made as class
 * in your template you can extend it or implement it completely
 * another way (not recommended :) )
 */
/* @var $form Am_Form */
$renderer = new Am_Form_Renderer(Am_Form_Renderer::UI_ADMIN);
$renderer->setView($this);

/* @var $renderer HTML_QuickForm2_Renderer_Default */
echo $form->render($renderer);