replacing inputs with divs on non-inline mode as well