template for FORM in Symfony with admin generator
I generated admin doctrine in Symfony 1.4. I use generator.yml. I would like edit template for form. I know that it is in cache. I copy this for backend, but there doesnt have $form. I would like make somethings as in frontend:
<table>
<tr><td>$form['name']->render();</td>
</tr>
<tr><td>$form['city']->render();</td>
</tr>
<开发者_Go百科;/table>
etc, but how can i make with admin generator? there are many include partial and foreach.
Maybe the best thing is to customize the generator templates themselves instead of copying from cache and overriding. These templates can be found in symfony_folder/lib/plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/template/templates
精彩评论