The support for sub-menu was disabled in latest version of bootstrap. The option can be re-enabled by including a small CSS. Below is an example of the structure