I'm working on a form using the sfPropelAdminGenerator. I gather I can
create collapsible fieldsets by prefix the category name with "-":

generator:
  class:              sfPropelAdminGenerator
  param:
    model_class:      InformationObject
    theme:            default

    edit:
      display:
        "-Identity": [identifier, title, alternate_title, title_notes]
        "-Context": [creation_events, archival_history, repository_id,
acquisition]

However this renders a form with all fieldsets initially collapsed. I
want to set the "class=" attribute of the <fieldset> tag in my
generator.yml, or indicate in some other way that the fieldset should
be initially expanded.

Any ideas how to do this?

One thought I had was to prefix the category name with "+", instead of
"-", and edit the _edit_form.php template to check this.

What are your thoughts?

Thanks, Jack


--~--~---------~--~----~------------~-------~--~----~
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