Changes between Version 2 and Version 3 of Ticket #10938, comment 10


Ignore:
Timestamp:
Sep 8, 2011, 12:46:00 PM (13 years ago)
Author:
stormlifter

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10938, comment 10

    v2 v3  
    99}}}
    1010
     11The sytax that melinath suggest isn't bad. Another idea would be to call a special method that allows you to insert the Inline at a specified index. So you could say in the example of melinath "fieldsets.inject(1,SomeInline)" which would put the fieldsets from SomeInline into the fieldsets of the parent at that location.
     12
    1113The issue I am getting is that since the fieldsets are unable to include any inline fields that the fields from the inline model are always forced to the bottom, of course I could use JS to move them to the top, but that's just boring. I could also override the form and make it save that added field to the appropriate model, but that's just sloppy.
Back to Top