Add proper way of rendering passwordfield, fileinput and bootstrapdateinput.