Can anyone help me with this?
-Larry
On 8/24/06, Larry Kelly <ldk2005-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:>
> I''m using Markaby to convert a standard form witth selects. Can
someone
> tell me why this doesn''t work?
>
> tr do
> td.formLabel do label "Owner" end
> td do select( ''task'', ''owner_id'',
capture( Owner.to_dropdown)) end
> end
> ---
> This code works just fine:
>
> <tr>
> <td><label class="formLabel"
for="task_owner_id">Owner</label></td>
> <td><%= select ''task'',
''owner_id'', Owner.to_dropdown %></td>
> </tr>
>
> But, the Markaby conversion doesn''t?
>
> I''m sure I''m missing something simple, but starring at
intensely doesn''t
> seem to be solving anything. :)
>
>
> --
> Best Regards,
> -Larry
> "Work, work, work...there is no satisfactory alternative."
> --- E.Taft Benson
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---