add support for ManyToMany relations in generated "index" and "show"
templates