Outsource Form

What is the best way to store forms that I use frequently? For example, I have a model in which I have to select another model and also have a "+" in the select to create a model for it. And then a model opens, which is then identical to the page where I could also create the model. There I would use quasi then 2 times the same form. So where would I store this most logical?
Solution:
It's been discussed a few times here on Discord, here's an example that comes to mind: https://discord.com/channels/883083792112300104/1134108136358289478...
Jump to solution
2 Replies
Solution
Patrick Boivin
Patrick Boivin15mo ago
It's been discussed a few times here on Discord, here's an example that comes to mind: https://discord.com/channels/883083792112300104/1134108136358289478
Patrick Boivin
Patrick Boivin15mo ago
TLDR, it's your choice: extract to static methods on the resource, a separate class, a trait, etc.
Want results from more Discord servers?
Add your server