ruby on rails - Make 1 component editable in activeadmin -


i have carousel slideshow on posts index page hard coded ideally id dynamic/editable in activeadmin, there simple way potentially use slideshow on home page , not on index view of posts.

any guidance appreciated.

you make slides resource (ie, slides table, model, views, etc). set 'slides' editable through active admin, in same way posts editable.

you'd want 1 of fields in slides table image upload - can use gem carrierwave or paperclip handle that.

then, build carousel hard-coded references images, build based on data stored in slides table. make sense?


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -