I am using activeadmin in my application, my reqirement is to display the active_admin_comments in edit page.
I can able to display in index and show pages by placing active_admin_comments in those like
show do
#Some code
active_admin_comments
end
but i am not able to do
edit do
#Some code
active_admin_comments
end
Is there any way i can active_admin_comments in my edit page or custom page.
Thanks
I tried this
ActiveAdmin::Comment
in my edit form and it worked.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.