Prawn had support for 'templates' removed in recent versions. The only solution I know of is to put shared content into helper modules, then mix those modules into each class that you need them in.
I must be missing something obvious, but although I have got the basic version working fine, I can't figure out how to implement the UI version with all of the built in widgets. Does anyone know how?
Prawn had support for 'templates' removed in recent versions. The only solution I know of is to put shared content into helper modules, then mix those modules into each class that you need them in.
I wrote a short example of how to do this here
I must be missing something obvious, but although I have got the basic version working fine, I can't figure out how to implement the UI version with all of the built in widgets. Does anyone know how?
Thanks in advance!