Different field config for modals

52 views
Skip to first unread message

Eric Hochberger

unread,
Feb 24, 2012, 2:05:02 PM2/24/12
to rails...@googlegroups.com
Is there currently a way to choose different fields for modals / nested forms vs their full edit screen? As in can I leave off some advanced fields in those limited views?

Sincerely,

Eric Hochberger
er...@mediavine.com
@EricTVF

Office: (954) 519-2181 x 191

Benoit Bénézech

unread,
Feb 25, 2012, 3:27:32 PM2/25/12
to rails...@googlegroups.com
nested for nested forms, but nothing for modals. Maybe we should add it?

base < edit < update|create|modal|nested

Eric Hochberger

unread,
Feb 25, 2012, 3:42:04 PM2/25/12
to rails...@googlegroups.com
Ahh, yes, I realize now you do have nested as an option. Adding a separate one for modal makes sense to me. I need to hide less common options to keep the form shorter on that one.

I noticed a weird bug with nested. It has to appear before the edit block for it to work. Otherwise, edit will override nested. Need me to make an issue?

Sincerely,

Eric Hochberger
er...@mediavine.com
@EricTVF

On Feb 25, 2012, at 3:27 PM, Benoit Bénézech wrote:

> nested for nested forms, but nothing for modals. Maybe we should add it?
>
> base < edit < update|create|modal|nested
>
>
>
>
>

> --
> You received this message because you are subscribed to the Google Groups "rails_admin" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/rails_admin/-/Ys1UkNlTkJEJ.
> To post to this group, send email to rails...@googlegroups.com.
> To unsubscribe from this group, send email to rails_admin...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/rails_admin?hl=en.

Benoit Bénézech

unread,
Feb 25, 2012, 4:06:48 PM2/25/12
to rails...@googlegroups.com
It's not a bug.

You need to put children block after parent block. nested inherits from edit.

Adding the modal section would be trivial.

Eric Hochberger

unread,
Apr 4, 2012, 11:39:09 AM4/4/12
to rails...@googlegroups.com
Hey Ben,

Any news on this? Any shot you're working on it? Did you need me to take a stab at it?


Sincerely,

Eric Hochberger
er...@mediavine.com
@EricTVF

On Feb 25, 2012, at 3:27 PM, Benoit Bénézech wrote:

> nested for nested forms, but nothing for modals. Maybe we should add it?
>
> base < edit < update|create|modal|nested
>
>
>
>
>

Reply all
Reply to author
Forward
0 new messages