Mixing formbuilder and arbre elements behaves differently outside of a partial than within #8932
-
|
Hi! I'm experiencing an issue that I believe to be a bug. The gist of it is this: I've created a repository to show the issue: https://github.com/ncathor-gst/activeadmin-arbre-partial-bug On the Note how "Some text 1" and "Some text 2" are before and after the two checkboxes (expected). On the Note how "Some text 1" and "Some text 2" are now rendered after the entire form (not expected). |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
The setup isn't following what's documented or expected so that could be the cause. I'm not sure if this will fix the Arbre rendering issue as I've only used ERB with form partials. Change the contents of this file to the following as this is the documented approach which does work. ActiveAdmin.register Post do
form partial: 'form'
endAfter that, update your partial to include the form builder call as shown in the docs. |
Beta Was this translation helpful? Give feedback.


The setup isn't following what's documented or expected so that could be the cause. I'm not sure if this will fix the Arbre rendering issue as I've only used ERB with form partials. Change the contents of this file to the following as this is the documented approach which does work.
After that, update your partial to include the form builder call as shown in the docs.