Closed havran closed 7 years ago
It's not possible to use two renderers. Does it works if you remove "include Cell::Erb" ?
The gem you use uses Rails' render
API, but Cells has its own API. It calls the wrong render
. Solution is to rewrite table-for to use Cells.
Thanks.
Thanks for great gem. I like idea of cells and i now try use them on my refactored rails code.
I'm trying use table-for gem inside cell slim template but without success. I try include TableFor module and TableFor::ViewAdditions::ClassMethods but without success.
I try use this code (because table-for internaly use erb template):
I get error:
It's possible use table-for within cells templates?