I think you want the following:

config.columns[:subentity].form_ui = :select

http://github.com/activescaffold/active_scaffold/wiki/API%3A-Column

On 10/19/2010 9:06 AM, ybart wrote:
Hi,

I've just started evaluating ActiveScaffold to use for a new project.
I've setup an entity with a to_many relashionship to a subentity, but
when I create a new entity, I have the ability to create a new entity,
I would like it to disable editing fields and simply be able to select
the subentity in the dropdown menu.

Do you know how can I achieve this ?

Thanks


--
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en.

Reply via email to