Reuse form componenets
How can you reuse a section of components in several resources without having to paste the same code in all the resources?
Solution
You can create separate class with static method that define form fields and then call that method in multiple resources, like this:
And then in your resource class:
And then in your resource class: