Changed divs to inputs