I have a model and I would like to use it with two different templates on the page. I didn't find anything on how to specify what model to use for a template (other than its name).
For example, I would like to display all the subusers from the model "subusers" in the template named "assignationdd". Right now, I already have a template named "subusers" so it links it with the model automatically, but can I reuse the model in another template?
Aucun commentaire:
Enregistrer un commentaire