Custom layout for form application

In would like to have the possibility to better manage form layout using html template like in grid and control app.