else if ("inline".equals(mode)) {
rw.startElement("div", dtp);
rw.writeAttribute("class", "input-group date " + styleClass, "class");
if(dtp.getStyle() != null) rw.writeAttribute("style", (dtp.isDisabled() ? "opacity: 0.65; pointer-events: none;" : "") + dtp.getStyle(), "style");
else if(dtp.isDisabled()) rw.writeAttribute("style", "opacity: 0.65; pointer-events: none;", null);
<BUG>rw.writeAttribute("id", divPrefix + clientId, null);
rw.endElement("div");</BUG>
rw.startElement("input", dtp);
rw.writeAttribute("id", clientId + "_Input", null);
rw.writeAttribute("name", clientId, null);

else if ("inline".equals(mode)) {
rw.startElement("div", dtp);
rw.writeAttribute("class", "input-group date " + styleClass, "class");
if(dtp.getStyle() != null) rw.writeAttribute("style", (dtp.isDisabled() ? "opacity: 0.65; pointer-events: none;" : "") + dtp.getStyle(), "style");
else if(dtp.isDisabled()) rw.writeAttribute("style", "opacity: 0.65; pointer-events: none;", null);
rw.writeAttribute("id", divPrefix + clientId, null);
if (!clientIdHasBeenRendered) {
Tooltip.generateTooltip(fc, dtp, rw);
clientIdHasBeenRendered=true;
}
rw.endElement("div");
rw.startElement("input", dtp);
rw.writeAttribute("id", clientId + "_Input", null);
rw.writeAttribute("name", clientId, null);
