Changed input tag to span tag