Allow proper selection of Owner and Owner Type in screens#new
Reported by August | May 30th, 2011 @ 04:32 PM | in Basic Functional Workflow [Concerto2]
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.
Comments and changes to this ticket
-
August May 31st, 2011 @ 07:13 PM
- 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...
-
August June 1st, 2011 @ 11:01 AM
- State changed from new to resolved
- Assigned user changed from Haris Khan to August
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Concerto is an open source digital signage system that makes it easy to engage a large community of people with graphical and text-based announcements, bulletins, and other messages... but enough about us, you came here to get involved.
<br />
If you think you've <b>found a bug in Concerto</b>, please click 'Create new ticket' and let us know about it.
<br />
Looking to peek at our source code? Head to <a href="https://github.com/concerto/concerto_v1">https://github.com/concerto/concerto_v1</a> (Concerto version 1) or <a href="https://github.com/concerto/concerto">https://github.com/concerto/concerto</a> (Concerto version 2).
<br />
Our getting started guide is available here: <a href="https://github.com/concerto/concerto/wiki/Getting-Involved">https://github.com/concerto/concerto/wiki/Getting-Involved</a>.