Assuming you also have a join table, you add the :accessible => true
on the has_many :users, :through => ... association.
Then for your task form, change the field for tasks to use check-
many. Probably something like this:
<extend tag="form" for="Task">
<old-form merge>
<field-list:>
<tasks-view:><check-many /></tasks-view:>
etc.
On Sep 20, 6:55 am, Mikkel WF <[email protected]> wrote:
> I have 2 models: Tasks and Users.
>
> I want to display a list of checkboxes on the task form, where i can
> choose which users are assigned, replacing the standard select-menu.
>
> How can i implement that?
>
> Best regards
> Mikkel WF
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo
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/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---