Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Allow proper selection of Owner and Owner Type in screens#new

#145

The screen creation view involves the selection of a owner id and an owner type. As this is a polymorphic join, and magical, the owner id will be the id of the group or user and the type field will tell Rails which model (user or group) is being referred to.

What's needed here is two cascading select boxes - one to select the owner type - and then another that, given the type selected, displays the available options.

Reported by August · May 30th, 2011 @ 04:32 PM

State: resolved
Assigned to: August August

Activity

  1. August
    August
    • Assigned user set to Haris Khan

    I've gone ahead and cleaned up this form a bit, but I don't really know any Javascript. Since the previous helpers that would do dynamic select boxes are all deprecated, I'm clueless, although this page seemed to have some promising info on it: http://www.simonecarletti.com/blog/2010/06/unobtrusive-javascript-i...

    May 31st, 2011 @ 07:13 PM

  2. August
    August
    • State changed from new to resolved
    • Assigned user changed from Haris Khan to August

    June 1st, 2011 @ 11:01 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.