Refactor standard input
There is no need to do any refactoring for the default inputs you just need to deploy form-factory-basic-layout
module as described below. You can clone the module from here: https://github.com/Jahia/form-factory-basic-layout.git
Deploy the form-factory-basic-layout
module and then add it (deploy it) to your site. Type following command in your console and press return.
mvn -P <your profile here> clean install jahia:deploy
Assuming that you have a website with Form Factory deployed on it (if not create one), go to Web Projects
and click on Edit site
button. Now click on Choose modules to be deployed
, check form-factory-basic-layout
module and click Next. You can verify results by going to edit mode. Observe that all the labels appear above inputs.
But feel free to modify input layouts as you see fit in the form-factory-basic-layout
.