I've run across this problem a few times now. I have a form with an
embedded form.  But I want it to displayed without being nested within
the form.

So instead of:
[code]
<ul>
  <li><input id="form[field]" /></li>
  <li>
    <ul>
      <li><input id="embedded_form[field]" /></li>
    </ul>
  </li>
</ul>
[/code]

I would like just:
[code]
<ul>
  <li><input id="form[field]" /></li>
  <li><input id="embedded_form[field]" /></li>
</ul>
[/code]

I had tried just doing this:
[code]
<?php foreach ($form->getFormFieldSchema() as $field ) : ?>
  <?php echo $field->renderRow() ?>
<?php endforeach; ?>
[/code]

but it still nests the form.  So I'm thinking I might be able to build
a new decorator, but I'm not sure if that will still nest the form.

And I'm trying to stay away from doing every field manually.

Thanks for any help

--
Stephen Ostrow
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to