Replace input tags with imgs